hydra-cardano-api-0.11.0: A Haskell API for Cardano, tailored to the Hydra project.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hydra.Cardano.Api

Description

A Haskell API for Cardano, tailored to the Hydra project.

This package provides a wrapper around the cardano-ledger, cardano-api and plutus libraries with extra utilities and function commonly used across the Hydra project.

NOTE: We always use the **latest era** available in our codebase, so to ease type signatures and notations, we specialize any type of the cardano-api normally parameterized by an era to the latest era Era. As a consequence, we've defined pattern synonyms for most constructors in the cardano-api to also get rid of era witnesses.

NOTE: This module also uses the **latest plutus version** available (currently PlutusScriptVersion). So make sure that you give it a plutus script of the right version (e.g. when compiling and serializing plutus-tx).

Synopsis

Common type-alias

data StandardCrypto #

Instances

Instances details
Crypto StandardCrypto 
Instance details

Defined in Cardano.Ledger.Crypto

Associated Types

type HASH StandardCrypto

type ADDRHASH StandardCrypto

type DSIGN StandardCrypto

type KES StandardCrypto

type VRF StandardCrypto

PraosCrypto StandardCrypto 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos

(CardanoHardForkConstraints StandardCrypto, IOLike m) => Protocol m (CardanoBlock StandardCrypto) 
Instance details

Defined in Cardano.Api.Protocol

Associated Types

data ProtocolInfoArgs m (CardanoBlock StandardCrypto) #

Methods

protocolInfo :: ProtocolInfoArgs m (CardanoBlock StandardCrypto) -> ProtocolInfo m (CardanoBlock StandardCrypto) #

(IOLike m, LedgerSupportsProtocol (ShelleyBlock (TPraos StandardCrypto) (ShelleyEra StandardCrypto))) => Protocol m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) 
Instance details

Defined in Cardano.Api.Protocol

Associated Types

data ProtocolInfoArgs m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) #

Methods

protocolInfo :: ProtocolInfoArgs m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) -> ProtocolInfo m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) #

CardanoHardForkConstraints StandardCrypto => ProtocolClient (CardanoBlock StandardCrypto) 
Instance details

Defined in Cardano.Api.Protocol

Associated Types

data ProtocolClientInfoArgs (CardanoBlock StandardCrypto)

Methods

protocolClientInfo :: ProtocolClientInfoArgs (CardanoBlock StandardCrypto) -> ProtocolClientInfo (CardanoBlock StandardCrypto)

ConvertLedgerEvent (ShelleyBlock protocol (AlonzoEra StandardCrypto)) 
Instance details

Defined in Cardano.Api.LedgerEvent

Methods

toLedgerEvent :: WrapLedgerEvent (ShelleyBlock protocol (AlonzoEra StandardCrypto)) -> Maybe LedgerEvent #

ConvertLedgerEvent (ShelleyBlock protocol (BabbageEra StandardCrypto)) 
Instance details

Defined in Cardano.Api.LedgerEvent

Methods

toLedgerEvent :: WrapLedgerEvent (ShelleyBlock protocol (BabbageEra StandardCrypto)) -> Maybe LedgerEvent #

LedgerSupportsProtocol (ShelleyBlock (TPraos StandardCrypto) (ShelleyEra StandardCrypto)) => ProtocolClient (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) 
Instance details

Defined in Cardano.Api.Protocol

Associated Types

data ProtocolClientInfoArgs (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley)

Methods

protocolClientInfo :: ProtocolClientInfoArgs (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) -> ProtocolClientInfo (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley)

type ADDRHASH StandardCrypto 
Instance details

Defined in Cardano.Ledger.Crypto

type ADDRHASH StandardCrypto = Blake2b_224
type DSIGN StandardCrypto 
Instance details

Defined in Cardano.Ledger.Crypto

type DSIGN StandardCrypto = Ed25519DSIGN
type HASH StandardCrypto 
Instance details

Defined in Cardano.Ledger.Crypto

type HASH StandardCrypto = Blake2b_256
type KES StandardCrypto 
Instance details

Defined in Cardano.Ledger.Crypto

type KES StandardCrypto = Sum6KES Ed25519DSIGN Blake2b_256
type VRF StandardCrypto 
Instance details

Defined in Cardano.Ledger.Crypto

type VRF StandardCrypto = PraosVRF
data ProtocolInfoArgs m (CardanoBlock StandardCrypto) 
Instance details

Defined in Cardano.Api.Protocol

data ProtocolInfoArgs m (CardanoBlock StandardCrypto) = ProtocolInfoArgsCardano ProtocolParamsByron (ProtocolParamsShelleyBased StandardShelley) (ProtocolParamsShelley StandardCrypto) (ProtocolParamsAllegra StandardCrypto) (ProtocolParamsMary StandardCrypto) (ProtocolParamsAlonzo StandardCrypto) (ProtocolParamsBabbage StandardCrypto) (ProtocolParamsConway StandardCrypto) (ProtocolTransitionParamsShelleyBased StandardShelley) (ProtocolTransitionParamsShelleyBased StandardAllegra) (ProtocolTransitionParamsShelleyBased StandardMary) (ProtocolTransitionParamsShelleyBased StandardAlonzo) (ProtocolTransitionParamsShelleyBased StandardBabbage) (ProtocolTransitionParamsShelleyBased StandardConway)
data ProtocolInfoArgs m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) 
Instance details

Defined in Cardano.Api.Protocol

data ProtocolInfoArgs m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) = ProtocolInfoArgsShelley (ProtocolParamsShelleyBased StandardShelley) (ProtocolParamsShelley StandardCrypto)
data ProtocolClientInfoArgs (CardanoBlock StandardCrypto) 
Instance details

Defined in Cardano.Api.Protocol

data ProtocolClientInfoArgs (CardanoBlock StandardCrypto) = ProtocolClientInfoArgsCardano EpochSlots
data ProtocolClientInfoArgs (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) 
Instance details

Defined in Cardano.Api.Protocol

data ProtocolClientInfoArgs (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) = ProtocolClientInfoArgsShelley

type LedgerEra = BabbageEra StandardCrypto Source #

Wrapped Types

type Witness witCtx = Witness witCtx Era Source #

type TxOut ctx = TxOut ctx Era Source #

type TxMintValue build = TxMintValue build Era Source #

type TxIns buidl = [(TxIn, BuildTxWith buidl (Witness WitCtxTxIn Era))] Source #

type Tx = Tx Era Source #

type ScriptWitness witCtx = ScriptWitness witCtx Era Source #

type AddressTypeInEra addrType = AddressTypeInEra addrType Era Source #

pattern KeyWitness :: KeyWitnessInCtx ctx -> Witness ctx Source #

pattern TxOut :: AddressInEra -> Value -> TxOutDatum ctx -> ReferenceScript -> TxOut ctx Source #

TxOut specialized for Era

pattern TxInsReference :: [TxIn] -> TxInsReference buidl Source #

txIns :: TxBodyContent build -> TxIns build Source #

pattern ShelleyTxBody :: TxBody LedgerEra -> [Script LedgerEra] -> TxBodyScriptData -> Maybe (AuxiliaryData LedgerEra) -> TxScriptValidity -> TxBody Source #

pattern Tx :: TxBody -> [KeyWitness] -> Tx Source #

pattern PlutusScriptSerialised :: ShortByteString -> PlutusScript Source #

pattern ShelleyKeyWitness :: WitVKey 'Witness StandardCrypto -> KeyWitness Source #

UTxO

newtype UTxO' out Source #

Newtype with phantom types mostly required to work around the poor interface of UTXO and provide Monoid and Foldable instances to make utxo manipulation bareable.

Constructors

UTxO (Map TxIn out) 

Instances

Instances details
Foldable UTxO' Source # 
Instance details

Defined in Cardano.Api.UTxO

Methods

fold :: Monoid m => UTxO' m -> m Source #

foldMap :: Monoid m => (a -> m) -> UTxO' a -> m Source #

foldMap' :: Monoid m => (a -> m) -> UTxO' a -> m Source #

foldr :: (a -> b -> b) -> b -> UTxO' a -> b Source #

foldr' :: (a -> b -> b) -> b -> UTxO' a -> b Source #

foldl :: (b -> a -> b) -> b -> UTxO' a -> b Source #

foldl' :: (b -> a -> b) -> b -> UTxO' a -> b Source #

foldr1 :: (a -> a -> a) -> UTxO' a -> a Source #

foldl1 :: (a -> a -> a) -> UTxO' a -> a Source #

toList :: UTxO' a -> [a] Source #

null :: UTxO' a -> Bool Source #

length :: UTxO' a -> Int Source #

elem :: Eq a => a -> UTxO' a -> Bool Source #

maximum :: Ord a => UTxO' a -> a Source #

minimum :: Ord a => UTxO' a -> a Source #

sum :: Num a => UTxO' a -> a Source #

product :: Num a => UTxO' a -> a Source #

Traversable UTxO' Source # 
Instance details

Defined in Cardano.Api.UTxO

Methods

traverse :: Applicative f => (a -> f b) -> UTxO' a -> f (UTxO' b) Source #

sequenceA :: Applicative f => UTxO' (f a) -> f (UTxO' a) Source #

mapM :: Monad m => (a -> m b) -> UTxO' a -> m (UTxO' b) Source #

sequence :: Monad m => UTxO' (m a) -> m (UTxO' a) Source #

Functor UTxO' Source # 
Instance details

Defined in Cardano.Api.UTxO

Methods

fmap :: (a -> b) -> UTxO' a -> UTxO' b Source #

(<$) :: a -> UTxO' b -> UTxO' a Source #

FromJSON out => FromJSON (UTxO' out) Source # 
Instance details

Defined in Cardano.Api.UTxO

Methods

parseJSON :: Value -> Parser (UTxO' out) #

parseJSONList :: Value -> Parser [UTxO' out] #

ToJSON out => ToJSON (UTxO' out) Source # 
Instance details

Defined in Cardano.Api.UTxO

Methods

toJSON :: UTxO' out -> Value #

toEncoding :: UTxO' out -> Encoding #

toJSONList :: [UTxO' out] -> Value #

toEncodingList :: [UTxO' out] -> Encoding #

Monoid (UTxO' out) Source # 
Instance details

Defined in Cardano.Api.UTxO

Methods

mempty :: UTxO' out Source #

mappend :: UTxO' out -> UTxO' out -> UTxO' out Source #

mconcat :: [UTxO' out] -> UTxO' out Source #

Semigroup (UTxO' out) Source # 
Instance details

Defined in Cardano.Api.UTxO

Methods

(<>) :: UTxO' out -> UTxO' out -> UTxO' out Source #

sconcat :: NonEmpty (UTxO' out) -> UTxO' out Source #

stimes :: Integral b => b -> UTxO' out -> UTxO' out Source #

Show out => Show (UTxO' out) Source # 
Instance details

Defined in Cardano.Api.UTxO

Methods

showsPrec :: Int -> UTxO' out -> ShowS Source #

show :: UTxO' out -> String Source #

showList :: [UTxO' out] -> ShowS Source #

Eq out => Eq (UTxO' out) Source # 
Instance details

Defined in Cardano.Api.UTxO

Methods

(==) :: UTxO' out -> UTxO' out -> Bool Source #

(/=) :: UTxO' out -> UTxO' out -> Bool Source #

Extras

Re-exports from cardano-api

writeLazyByteStringFile :: MonadIO m => FilePath -> ByteString -> m (Either (FileError ()) ()) #

writeLazyByteStringOutput :: MonadIO m => Maybe FilePath -> ByteString -> m (Either (FileError ()) ()) #

writeTextFile :: MonadIO m => FilePath -> Text -> m (Either (FileError ()) ()) #

generateInsecureSigningKey :: (Key keyrole, SerialiseAsRawBytes (SigningKey keyrole)) => StdGen -> AsType keyrole -> IO (SigningKey keyrole, StdGen) #

generateSigningKey :: Key keyrole => AsType keyrole -> IO (SigningKey keyrole) #

toEraInMode :: CardanoEra era -> ConsensusMode mode -> Maybe (EraInMode era mode) #

validateCostModel :: PlutusScriptVersion lang -> CostModel -> Either InvalidCostModel () #

getProgress :: SlotNo -> EraHistory mode -> Either PastHorizonException (RelativeTime, SlotLength) #

slotToEpoch :: SlotNo -> EraHistory mode -> Either PastHorizonException (EpochNo, SlotsInEpoch, SlotsToEpochEnd) #

writeFileJSON :: ToJSON a => FilePath -> a -> IO (Either (FileError ()) ()) #

eitherDeserialiseFromRawBytes :: SerialiseAsRawBytes a => AsType a -> ByteString -> Either SerialiseAsRawBytesError a #

getTxBody :: Tx era -> TxBody era #

getTxWitnesses :: Tx era -> [KeyWitness era] #

makeShelleyBootstrapWitness :: IsShelleyBasedEra era => WitnessNetworkIdOrByronAddress -> TxBody era -> SigningKey ByronKey -> KeyWitness era #

makeSignedTransaction :: [KeyWitness era] -> TxBody era -> Tx era #

addTxIn :: (TxIn, BuildTxWith build (Witness WitCtxTxIn era)) -> TxBodyContent build era -> TxBodyContent build era #

addTxOut :: TxOut CtxTx era -> TxBodyContent build era -> TxBodyContent build era #

getTxId :: TxBody era -> TxId #

modTxIns :: (TxIns build era -> TxIns build era) -> TxBodyContent build era -> TxBodyContent build era #

modTxOuts :: ([TxOut CtxTx era] -> [TxOut CtxTx era]) -> TxBodyContent build era -> TxBodyContent build era #

parseHash :: SerialiseAsRawBytes (Hash a) => AsType (Hash a) -> Parser (Hash a) #

setTxAuxScripts :: TxAuxScripts era -> TxBodyContent build era -> TxBodyContent build era #

setTxCertificates :: TxCertificates build era -> TxBodyContent build era -> TxBodyContent build era #

setTxFee :: TxFee era -> TxBodyContent build era -> TxBodyContent build era #

setTxIns :: TxIns build era -> TxBodyContent build era -> TxBodyContent build era #

setTxInsReference :: TxInsReference build era -> TxBodyContent build era -> TxBodyContent build era #

setTxMetadata :: TxMetadataInEra era -> TxBodyContent build era -> TxBodyContent build era #

setTxMintValue :: TxMintValue build era -> TxBodyContent build era -> TxBodyContent build era #

setTxOuts :: [TxOut CtxTx era] -> TxBodyContent build era -> TxBodyContent build era #

setTxWithdrawals :: TxWithdrawals build era -> TxBodyContent build era -> TxBodyContent build era #

bounded :: (Bounded a, Integral a, Show a) => String -> ReadM a #

runParsecParser :: Parser a -> Text -> Parser a #

textShow :: Show a => a -> Text #

writeSecrets :: FilePath -> [Char] -> [Char] -> (a -> ByteString) -> [a] -> IO () #

parseValue :: Parser Value #

class FromJSON a #

Instances

Instances details
FromJSON Key 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Key #

parseJSONList :: Value -> Parser [Key] #

FromJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser DotNetTime #

parseJSONList :: Value -> Parser [DotNetTime] #

FromJSON Value 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Value #

parseJSONList :: Value -> Parser [Value] #

FromJSON Version 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Version #

parseJSONList :: Value -> Parser [Version] #

FromJSON Void 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Void #

parseJSONList :: Value -> Parser [Void] #

FromJSON CTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser CTime #

parseJSONList :: Value -> Parser [CTime] #

FromJSON Int16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Int16 #

parseJSONList :: Value -> Parser [Int16] #

FromJSON Int32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Int32 #

parseJSONList :: Value -> Parser [Int32] #

FromJSON Int64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Int64 #

parseJSONList :: Value -> Parser [Int64] #

FromJSON Int8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Int8 #

parseJSONList :: Value -> Parser [Int8] #

FromJSON Word16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Word16 #

parseJSONList :: Value -> Parser [Word16] #

FromJSON Word32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Word32 #

parseJSONList :: Value -> Parser [Word32] #

FromJSON Word64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Word64 #

parseJSONList :: Value -> Parser [Word64] #

FromJSON Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Word8 #

parseJSONList :: Value -> Parser [Word8] #

FromJSON StakeAddress 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser StakeAddress #

parseJSONList :: Value -> Parser [StakeAddress] #

FromJSON ChainPoint 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON :: Value -> Parser ChainPoint #

parseJSONList :: Value -> Parser [ChainPoint] #

FromJSON SocketPath 
Instance details

Defined in Cardano.Api.Environment

Methods

parseJSON :: Value -> Parser SocketPath #

parseJSONList :: Value -> Parser [SocketPath] #

FromJSON AnyCardanoEra 
Instance details

Defined in Cardano.Api.Eras

Methods

parseJSON :: Value -> Parser AnyCardanoEra #

parseJSONList :: Value -> Parser [AnyCardanoEra] #

FromJSON OutputFile 
Instance details

Defined in Cardano.Api.IO

Methods

parseJSON :: Value -> Parser OutputFile #

parseJSONList :: Value -> Parser [OutputFile] #

FromJSON NodeConfig 
Instance details

Defined in Cardano.Api.LedgerState

Methods

parseJSON :: Value -> Parser NodeConfig #

parseJSONList :: Value -> Parser [NodeConfig] #

FromJSON NetworkId Source # 
Instance details

Defined in Hydra.Cardano.Api.NetworkId

Methods

parseJSON :: Value -> Parser NetworkId #

parseJSONList :: Value -> Parser [NetworkId] #

FromJSON CostModel 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON :: Value -> Parser CostModel #

parseJSONList :: Value -> Parser [CostModel] #

FromJSON ExecutionUnitPrices 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON :: Value -> Parser ExecutionUnitPrices #

parseJSONList :: Value -> Parser [ExecutionUnitPrices] #

FromJSON PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON :: Value -> Parser PraosNonce #

parseJSONList :: Value -> Parser [PraosNonce] #

FromJSON ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON :: Value -> Parser ProtocolParameters #

parseJSONList :: Value -> Parser [ProtocolParameters] #

FromJSON AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser AnyPlutusScriptVersion #

parseJSONList :: Value -> Parser [AnyPlutusScriptVersion] #

FromJSON ExecutionUnits 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser ExecutionUnits #

parseJSONList :: Value -> Parser [ExecutionUnits] #

FromJSON ScriptHash 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser ScriptHash #

parseJSONList :: Value -> Parser [ScriptHash] #

FromJSON ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser ScriptInAnyLang #

parseJSONList :: Value -> Parser [ScriptInAnyLang] #

FromJSON SimpleScript 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser SimpleScript #

parseJSONList :: Value -> Parser [SimpleScript] #

FromJSON HashableScriptData Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptData

Methods

parseJSON :: Value -> Parser HashableScriptData #

parseJSONList :: Value -> Parser [HashableScriptData] #

FromJSON ScriptData Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptData

Methods

parseJSON :: Value -> Parser ScriptData #

parseJSONList :: Value -> Parser [ScriptData] #

FromJSON TextEnvelopeCddl 
Instance details

Defined in Cardano.Api.SerialiseLedgerCddl

Methods

parseJSON :: Value -> Parser TextEnvelopeCddl #

parseJSONList :: Value -> Parser [TextEnvelopeCddl] #

FromJSON TextEnvelope 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

parseJSON :: Value -> Parser TextEnvelope #

parseJSONList :: Value -> Parser [TextEnvelope] #

FromJSON TextEnvelopeDescr 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

parseJSON :: Value -> Parser TextEnvelopeDescr #

parseJSONList :: Value -> Parser [TextEnvelopeDescr] #

FromJSON TextEnvelopeType 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

parseJSON :: Value -> Parser TextEnvelopeType #

parseJSONList :: Value -> Parser [TextEnvelopeType] #

FromJSON StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Methods

parseJSON :: Value -> Parser StakePoolMetadata #

parseJSONList :: Value -> Parser [StakePoolMetadata] #

FromJSON TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxId #

parseJSONList :: Value -> Parser [TxId] #

FromJSON TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxIn #

parseJSONList :: Value -> Parser [TxIn] #

FromJSON TxIx 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxIx #

parseJSONList :: Value -> Parser [TxIx] #

FromJSON AssetName 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser AssetName #

parseJSONList :: Value -> Parser [AssetName] #

FromJSON Lovelace 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser Lovelace #

parseJSONList :: Value -> Parser [Lovelace] #

FromJSON PolicyId 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser PolicyId #

parseJSONList :: Value -> Parser [PolicyId] #

FromJSON Quantity 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser Quantity #

parseJSONList :: Value -> Parser [Quantity] #

FromJSON Value 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value0 -> Parser Value #

parseJSONList :: Value0 -> Parser [Value] #

FromJSON ValueNestedRep 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser ValueNestedRep #

parseJSONList :: Value -> Parser [ValueNestedRep] #

FromJSON RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

parseJSON :: Value -> Parser RedeemVerificationKey #

parseJSONList :: Value -> Parser [RedeemVerificationKey] #

FromJSON VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Methods

parseJSON :: Value -> Parser VerificationKey #

parseJSONList :: Value -> Parser [VerificationKey] #

FromJSON AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

Methods

parseJSON :: Value -> Parser AlonzoGenesis #

parseJSONList :: Value -> Parser [AlonzoGenesis] #

FromJSON DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser DnsName #

parseJSONList :: Value -> Parser [DnsName] #

FromJSON Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Network #

parseJSONList :: Value -> Parser [Network] #

FromJSON NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser NonNegativeInterval #

parseJSONList :: Value -> Parser [NonNegativeInterval] #

FromJSON Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Nonce #

parseJSONList :: Value -> Parser [Nonce] #

FromJSON Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Port #

parseJSONList :: Value -> Parser [Port] #

FromJSON PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser PositiveInterval #

parseJSONList :: Value -> Parser [PositiveInterval] #

FromJSON PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser PositiveUnitInterval #

parseJSONList :: Value -> Parser [PositiveUnitInterval] #

FromJSON ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser ProtVer #

parseJSONList :: Value -> Parser [ProtVer] #

FromJSON UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser UnitInterval #

parseJSONList :: Value -> Parser [UnitInterval] #

FromJSON Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser Url #

parseJSONList :: Value -> Parser [Url] #

FromJSON Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

parseJSON :: Value -> Parser Coin #

parseJSONList :: Value -> Parser [Coin] #

FromJSON RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

parseJSON :: Value -> Parser RewardInfoPool #

parseJSONList :: Value -> Parser [RewardInfoPool] #

FromJSON RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

parseJSON :: Value -> Parser RewardParams #

parseJSONList :: Value -> Parser [RewardParams] #

FromJSON PoolMetadata 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

parseJSON :: Value -> Parser PoolMetadata #

parseJSONList :: Value -> Parser [PoolMetadata] #

FromJSON StakePoolRelay 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

parseJSON :: Value -> Parser StakePoolRelay #

parseJSONList :: Value -> Parser [StakePoolRelay] #

FromJSON Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

parseJSON :: Value -> Parser Desirability #

parseJSONList :: Value -> Parser [Desirability] #

FromJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochNo #

parseJSONList :: Value -> Parser [EpochNo] #

FromJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochSize #

parseJSONList :: Value -> Parser [EpochSize] #

FromJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser SlotNo #

parseJSONList :: Value -> Parser [SlotNo] #

FromJSON IntSet 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser IntSet #

parseJSONList :: Value -> Parser [IntSet] #

FromJSON Ordering 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Ordering #

parseJSONList :: Value -> Parser [Ordering] #

FromJSON PeerAdvertise 
Instance details

Defined in Ouroboros.Network.PeerSelection.Types

Methods

parseJSON :: Value -> Parser PeerAdvertise #

parseJSONList :: Value -> Parser [PeerAdvertise] #

FromJSON Scientific 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Scientific #

parseJSONList :: Value -> Parser [Scientific] #

FromJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

parseJSON :: Value -> Parser StudentT #

parseJSONList :: Value -> Parser [StudentT] #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Text #

parseJSONList :: Value -> Parser [Text] #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Text #

parseJSONList :: Value -> Parser [Text] #

FromJSON ShortText 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser ShortText #

parseJSONList :: Value -> Parser [ShortText] #

FromJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser CalendarDiffDays #

parseJSONList :: Value -> Parser [CalendarDiffDays] #

FromJSON Day 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Day #

parseJSONList :: Value -> Parser [Day] #

FromJSON Month 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Month #

parseJSONList :: Value -> Parser [Month] #

FromJSON Quarter 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Quarter #

parseJSONList :: Value -> Parser [Quarter] #

FromJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser QuarterOfYear #

parseJSONList :: Value -> Parser [QuarterOfYear] #

FromJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser DayOfWeek #

parseJSONList :: Value -> Parser [DayOfWeek] #

FromJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser DiffTime #

parseJSONList :: Value -> Parser [DiffTime] #

FromJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser NominalDiffTime #

parseJSONList :: Value -> Parser [NominalDiffTime] #

FromJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser SystemTime #

parseJSONList :: Value -> Parser [SystemTime] #

FromJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser UTCTime #

parseJSONList :: Value -> Parser [UTCTime] #

FromJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser CalendarDiffTime #

parseJSONList :: Value -> Parser [CalendarDiffTime] #

FromJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser LocalTime #

parseJSONList :: Value -> Parser [LocalTime] #

FromJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser TimeOfDay #

parseJSONList :: Value -> Parser [TimeOfDay] #

FromJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser ZonedTime #

parseJSONList :: Value -> Parser [ZonedTime] #

FromJSON UUID 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser UUID #

parseJSONList :: Value -> Parser [UUID] #

FromJSON Integer 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Integer #

parseJSONList :: Value -> Parser [Integer] #

FromJSON Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Natural #

parseJSONList :: Value -> Parser [Natural] #

FromJSON () 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser () #

parseJSONList :: Value -> Parser [()] #

FromJSON Bool 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Bool #

parseJSONList :: Value -> Parser [Bool] #

FromJSON Char 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Char #

parseJSONList :: Value -> Parser [Char] #

FromJSON Double 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Double #

parseJSONList :: Value -> Parser [Double] #

FromJSON Float 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Float #

parseJSONList :: Value -> Parser [Float] #

FromJSON Int 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Int #

parseJSONList :: Value -> Parser [Int] #

FromJSON Word 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser Word #

parseJSONList :: Value -> Parser [Word] #

FromJSON v => FromJSON (KeyMap v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (KeyMap v) #

parseJSONList :: Value -> Parser [KeyMap v] #

FromJSON a => FromJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Identity a) #

parseJSONList :: Value -> Parser [Identity a] #

FromJSON a => FromJSON (First a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (First a) #

parseJSONList :: Value -> Parser [First a] #

FromJSON a => FromJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Last a) #

parseJSONList :: Value -> Parser [Last a] #

FromJSON a => FromJSON (First a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (First a) #

parseJSONList :: Value -> Parser [First a] #

FromJSON a => FromJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Last a) #

parseJSONList :: Value -> Parser [Last a] #

FromJSON a => FromJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Max a) #

parseJSONList :: Value -> Parser [Max a] #

FromJSON a => FromJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Min a) #

parseJSONList :: Value -> Parser [Min a] #

FromJSON a => FromJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (WrappedMonoid a) #

parseJSONList :: Value -> Parser [WrappedMonoid a] #

FromJSON a => FromJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Dual a) #

parseJSONList :: Value -> Parser [Dual a] #

(FromJSON a, Integral a) => FromJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Ratio a) #

parseJSONList :: Value -> Parser [Ratio a] #

FromJSON (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser (Address ByronAddr) #

parseJSONList :: Value -> Parser [Address ByronAddr] #

FromJSON (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser (Address ShelleyAddr) #

parseJSONList :: Value -> Parser [Address ShelleyAddr] #

IsShelleyBasedEra era => FromJSON (AddressInEra era) 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser (AddressInEra era) #

parseJSONList :: Value -> Parser [AddressInEra era] #

FromJSON (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON :: Value -> Parser (Hash BlockHeader) #

parseJSONList :: Value -> Parser [Hash BlockHeader] #

FromJSON (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash StakePoolKey) #

parseJSONList :: Value -> Parser [Hash StakePoolKey] #

FromJSON (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

parseJSON :: Value -> Parser (Hash ScriptData) #

parseJSONList :: Value -> Parser [Hash ScriptData] #

FromJSON (VerificationKey PaymentKey) Source # 
Instance details

Defined in Hydra.Cardano.Api.VerificationKey

Methods

parseJSON :: Value -> Parser (VerificationKey PaymentKey) #

parseJSONList :: Value -> Parser [VerificationKey PaymentKey] #

(IsShelleyBasedEra era, FromJSON (TxOut CtxUTxO era)) => FromJSON (UTxO era) 
Instance details

Defined in Cardano.Api.Query

Methods

parseJSON :: Value -> Parser (UTxO era) #

parseJSONList :: Value -> Parser [UTxO era] #

IsPlutusScriptLanguage lang => FromJSON (PlutusScript lang) Source # 
Instance details

Defined in Hydra.Cardano.Api.PlutusScript

Methods

parseJSON :: Value -> Parser (PlutusScript lang) #

parseJSONList :: Value -> Parser [PlutusScript lang] #

IsCardanoEra era => FromJSON (ReferenceScript era) 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser (ReferenceScript era) #

parseJSONList :: Value -> Parser [ReferenceScript era] #

IsCardanoEra era => FromJSON (TxOutValue era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

parseJSON :: Value -> Parser (TxOutValue era) #

parseJSONList :: Value -> Parser [TxOutValue era] #

Crypto crypto => FromJSON (Addr crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

parseJSON :: Value -> Parser (Addr crypto) #

parseJSONList :: Value -> Parser [Addr crypto] #

Crypto crypto => FromJSON (RewardAcnt crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

parseJSON :: Value -> Parser (RewardAcnt crypto) #

parseJSONList :: Value -> Parser [RewardAcnt crypto] #

Crypto crypto => FromJSON (BlocksMade crypto) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser (BlocksMade crypto) #

parseJSONList :: Value -> Parser [BlocksMade crypto] #

Crypto crypto => FromJSON (ScriptHash crypto) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

parseJSON :: Value -> Parser (ScriptHash crypto) #

parseJSONList :: Value -> Parser [ScriptHash crypto] #

Crypto crypto => FromJSON (GenDelegPair crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

parseJSON :: Value -> Parser (GenDelegPair crypto) #

parseJSONList :: Value -> Parser [GenDelegPair crypto] #

Crypto crypto => FromJSON (GenDelegs crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

parseJSON :: Value -> Parser (GenDelegs crypto) #

parseJSONList :: Value -> Parser [GenDelegs crypto] #

Era era => FromJSON (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

parseJSON :: Value -> Parser (ShelleyGenesis era) #

parseJSONList :: Value -> Parser [ShelleyGenesis era] #

Crypto crypto => FromJSON (ShelleyGenesisStaking crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

parseJSON :: Value -> Parser (ShelleyGenesisStaking crypto) #

parseJSONList :: Value -> Parser [ShelleyGenesisStaking crypto] #

FromJSON (ShelleyPParams era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

parseJSON :: Value -> Parser (ShelleyPParams era) #

parseJSONList :: Value -> Parser [ShelleyPParams era] #

Crypto crypto => FromJSON (PoolParams crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

parseJSON :: Value -> Parser (PoolParams crypto) #

parseJSONList :: Value -> Parser [PoolParams crypto] #

Crypto crypto => FromJSON (RewardProvenance crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

parseJSON :: Value -> Parser (RewardProvenance crypto) #

parseJSONList :: Value -> Parser [RewardProvenance crypto] #

Crypto crypto => FromJSON (RewardProvenancePool crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

parseJSON :: Value -> Parser (RewardProvenancePool crypto) #

parseJSONList :: Value -> Parser [RewardProvenancePool crypto] #

FromJSON a => FromJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

parseJSON :: Value -> Parser (StrictMaybe a) #

parseJSONList :: Value -> Parser [StrictMaybe a] #

FromJSON a => FromJSON (StrictSeq a) 
Instance details

Defined in Data.Sequence.Strict

Methods

parseJSON :: Value -> Parser (StrictSeq a) #

parseJSONList :: Value -> Parser [StrictSeq a] #

FromJSON a => FromJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (IntMap a) #

parseJSONList :: Value -> Parser [IntMap a] #

FromJSON a => FromJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Seq a) #

parseJSONList :: Value -> Parser [Seq a] #

(Ord a, FromJSON a) => FromJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Set a) #

parseJSONList :: Value -> Parser [Set a] #

FromJSON v => FromJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Tree v) #

parseJSONList :: Value -> Parser [Tree v] #

FromJSON1 f => FromJSON (Fix f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Fix f) #

parseJSONList :: Value -> Parser [Fix f] #

(FromJSON1 f, Functor f) => FromJSON (Mu f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Mu f) #

parseJSONList :: Value -> Parser [Mu f] #

(FromJSON1 f, Functor f) => FromJSON (Nu f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Nu f) #

parseJSONList :: Value -> Parser [Nu f] #

FromJSON a => FromJSON (DNonEmpty a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (DNonEmpty a) #

parseJSONList :: Value -> Parser [DNonEmpty a] #

FromJSON a => FromJSON (DList a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (DList a) #

parseJSONList :: Value -> Parser [DList a] #

(Generic a, GFromJSON Zero (Rep a)) => FromJSON (Generically a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Generically a) #

parseJSONList :: Value -> Parser [Generically a] #

FromJSON out => FromJSON (UTxO' out) Source # 
Instance details

Defined in Cardano.Api.UTxO

Methods

parseJSON :: Value -> Parser (UTxO' out) #

parseJSONList :: Value -> Parser [UTxO' out] #

SerialiseAsRawBytes a => FromJSON (UsingRawBytesHex a) Source # 
Instance details

Defined in Hydra.Cardano.Api.UsingRawBytesHex

Methods

parseJSON :: Value -> Parser (UsingRawBytesHex a) #

parseJSONList :: Value -> Parser [UsingRawBytesHex a] #

FromJSON a => FromJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Array a) #

parseJSONList :: Value -> Parser [Array a] #

(Prim a, FromJSON a) => FromJSON (PrimArray a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (PrimArray a) #

parseJSONList :: Value -> Parser [PrimArray a] #

FromJSON a => FromJSON (SmallArray a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (SmallArray a) #

parseJSONList :: Value -> Parser [SmallArray a] #

FromJSON d => FromJSON (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

Methods

parseJSON :: Value -> Parser (LinearTransform d) #

parseJSONList :: Value -> Parser [LinearTransform d] #

FromJSON a => FromJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Maybe a) #

parseJSONList :: Value -> Parser [Maybe a] #

(Eq a, Hashable a, FromJSON a) => FromJSON (HashSet a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (HashSet a) #

parseJSONList :: Value -> Parser [HashSet a] #

FromJSON a => FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Vector a) #

parseJSONList :: Value -> Parser [Vector a] #

(Prim a, FromJSON a) => FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Vector a) #

parseJSONList :: Value -> Parser [Vector a] #

(Storable a, FromJSON a) => FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Vector a) #

parseJSONList :: Value -> Parser [Vector a] #

(Vector Vector a, FromJSON a) => FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Vector a) #

parseJSONList :: Value -> Parser [Vector a] #

FromJSON a => FromJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (NonEmpty a) #

parseJSONList :: Value -> Parser [NonEmpty a] #

FromJSON a => FromJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Maybe a) #

parseJSONList :: Value -> Parser [Maybe a] #

FromJSON a => FromJSON (a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a) #

parseJSONList :: Value -> Parser [(a)] #

FromJSON a => FromJSON [a] 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser [a] #

parseJSONList :: Value -> Parser [[a]] #

(FromJSON a, FromJSON b) => FromJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Either a b) #

parseJSONList :: Value -> Parser [Either a b] #

HasResolution a => FromJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Fixed a) #

parseJSONList :: Value -> Parser [Fixed a] #

FromJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Proxy a) #

parseJSONList :: Value -> Parser [Proxy a] #

FromJSON (EraInMode AllegraEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode AllegraEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode AllegraEra CardanoMode] #

FromJSON (EraInMode AlonzoEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode AlonzoEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode AlonzoEra CardanoMode] #

FromJSON (EraInMode BabbageEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode BabbageEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode BabbageEra CardanoMode] #

FromJSON (EraInMode ByronEra ByronMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ByronEra ByronMode) #

parseJSONList :: Value -> Parser [EraInMode ByronEra ByronMode] #

FromJSON (EraInMode ByronEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ByronEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode ByronEra CardanoMode] #

FromJSON (EraInMode ConwayEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ConwayEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode ConwayEra CardanoMode] #

FromJSON (EraInMode MaryEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode MaryEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode MaryEra CardanoMode] #

FromJSON (EraInMode ShelleyEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ShelleyEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode ShelleyEra CardanoMode] #

FromJSON (EraInMode ShelleyEra ShelleyMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ShelleyEra ShelleyMode) #

parseJSONList :: Value -> Parser [EraInMode ShelleyEra ShelleyMode] #

IsShelleyBasedEra era => FromJSON (TxOut CtxTx era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

parseJSON :: Value -> Parser (TxOut CtxTx era) #

parseJSONList :: Value -> Parser [TxOut CtxTx era] #

IsShelleyBasedEra era => FromJSON (TxOut CtxUTxO era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

parseJSON :: Value -> Parser (TxOut CtxUTxO era) #

parseJSONList :: Value -> Parser [TxOut CtxUTxO era] #

FromJSON b => FromJSON (Annotated b ()) 
Instance details

Defined in Cardano.Binary.Annotated

Methods

parseJSON :: Value -> Parser (Annotated b ()) #

parseJSONList :: Value -> Parser [Annotated b ()] #

HashAlgorithm h => FromJSON (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

parseJSON :: Value -> Parser (Hash h a) #

parseJSONList :: Value -> Parser [Hash h a] #

(FromJSON v, FromJSONKey k) => FromJSON (ListMap k v) 
Instance details

Defined in Data.ListMap

Methods

parseJSON :: Value -> Parser (ListMap k v) #

parseJSONList :: Value -> Parser [ListMap k v] #

Bounded (BoundedRatio b Word64) => FromJSON (BoundedRatio b Word64) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSON :: Value -> Parser (BoundedRatio b Word64) #

parseJSONList :: Value -> Parser [BoundedRatio b Word64] #

Crypto crypto => FromJSON (Credential kr crypto) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

parseJSON :: Value -> Parser (Credential kr crypto) #

parseJSONList :: Value -> Parser [Credential kr crypto] #

Crypto crypto => FromJSON (KeyHash disc crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

parseJSON :: Value -> Parser (KeyHash disc crypto) #

parseJSONList :: Value -> Parser [KeyHash disc crypto] #

(FromJSONKey k, Ord k, FromJSON v) => FromJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Map k v) #

parseJSONList :: Value -> Parser [Map k v] #

(FromJSON a, FromJSON b) => FromJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Either a b) #

parseJSONList :: Value -> Parser [Either a b] #

(FromJSON a, FromJSON b) => FromJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (These a b) #

parseJSONList :: Value -> Parser [These a b] #

(FromJSON a, FromJSON b) => FromJSON (Pair a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Pair a b) #

parseJSONList :: Value -> Parser [Pair a b] #

(FromJSON a, FromJSON b) => FromJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (These a b) #

parseJSONList :: Value -> Parser [These a b] #

(FromJSON v, FromJSONKey k, Eq k, Hashable k) => FromJSON (HashMap k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (HashMap k v) #

parseJSONList :: Value -> Parser [HashMap k v] #

(FromJSON a, FromJSON b) => FromJSON (a, b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b) #

parseJSONList :: Value -> Parser [(a, b)] #

FromJSON a => FromJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Const a b) #

parseJSONList :: Value -> Parser [Const a b] #

FromJSON b => FromJSON (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Tagged a b) #

parseJSONList :: Value -> Parser [Tagged a b] #

(FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (These1 f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (These1 f g a) #

parseJSONList :: Value -> Parser [These1 f g a] #

(FromJSON a, FromJSON b, FromJSON c) => FromJSON (a, b, c) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c) #

parseJSONList :: Value -> Parser [(a, b, c)] #

(FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Product f g a) #

parseJSONList :: Value -> Parser [Product f g a] #

(FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Sum f g a) #

parseJSONList :: Value -> Parser [Sum f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d) => FromJSON (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c, d) #

parseJSONList :: Value -> Parser [(a, b, c, d)] #

(FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Compose f g a) #

parseJSONList :: Value -> Parser [Compose f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e) => FromJSON (a, b, c, d, e) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c, d, e) #

parseJSONList :: Value -> Parser [(a, b, c, d, e)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f) => FromJSON (a, b, c, d, e, f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c, d, e, f) #

parseJSONList :: Value -> Parser [(a, b, c, d, e, f)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g) => FromJSON (a, b, c, d, e, f, g) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c, d, e, f, g) #

parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h) => FromJSON (a, b, c, d, e, f, g, h) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h) #

parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i) => FromJSON (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i) #

parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j) => FromJSON (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j) #

parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k) => FromJSON (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k) #

parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l) => FromJSON (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k, l) #

parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k, l)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m) => FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k, l, m) #

parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n) => FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n) #

parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n, FromJSON o) => FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) #

parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] #

class ToJSON a #

Instances

Instances details
ToJSON Key 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Key -> Value #

toEncoding :: Key -> Encoding #

toJSONList :: [Key] -> Value #

toEncodingList :: [Key] -> Encoding #

ToJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: DotNetTime -> Value #

toEncoding :: DotNetTime -> Encoding #

toJSONList :: [DotNetTime] -> Value #

toEncodingList :: [DotNetTime] -> Encoding #

ToJSON Value 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Value -> Value #

toEncoding :: Value -> Encoding #

toJSONList :: [Value] -> Value #

toEncodingList :: [Value] -> Encoding #

ToJSON Number 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Number -> Value #

toEncoding :: Number -> Encoding #

toJSONList :: [Number] -> Value #

toEncodingList :: [Number] -> Encoding #

ToJSON Version 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Version -> Value #

toEncoding :: Version -> Encoding #

toJSONList :: [Version] -> Value #

toEncodingList :: [Version] -> Encoding #

ToJSON Void 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Void -> Value #

toEncoding :: Void -> Encoding #

toJSONList :: [Void] -> Value #

toEncodingList :: [Void] -> Encoding #

ToJSON CTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: CTime -> Value #

toEncoding :: CTime -> Encoding #

toJSONList :: [CTime] -> Value #

toEncodingList :: [CTime] -> Encoding #

ToJSON Int16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Int16 -> Value #

toEncoding :: Int16 -> Encoding #

toJSONList :: [Int16] -> Value #

toEncodingList :: [Int16] -> Encoding #

ToJSON Int32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Int32 -> Value #

toEncoding :: Int32 -> Encoding #

toJSONList :: [Int32] -> Value #

toEncodingList :: [Int32] -> Encoding #

ToJSON Int64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Int64 -> Value #

toEncoding :: Int64 -> Encoding #

toJSONList :: [Int64] -> Value #

toEncodingList :: [Int64] -> Encoding #

ToJSON Int8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Int8 -> Value #

toEncoding :: Int8 -> Encoding #

toJSONList :: [Int8] -> Value #

toEncodingList :: [Int8] -> Encoding #

ToJSON Word16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Word16 -> Value #

toEncoding :: Word16 -> Encoding #

toJSONList :: [Word16] -> Value #

toEncodingList :: [Word16] -> Encoding #

ToJSON Word32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Word32 -> Value #

toEncoding :: Word32 -> Encoding #

toJSONList :: [Word32] -> Value #

toEncodingList :: [Word32] -> Encoding #

ToJSON Word64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Word64 -> Value #

toEncoding :: Word64 -> Encoding #

toJSONList :: [Word64] -> Value #

toEncodingList :: [Word64] -> Encoding #

ToJSON Word8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Word8 -> Value #

toEncoding :: Word8 -> Encoding #

toJSONList :: [Word8] -> Value #

toEncodingList :: [Word8] -> Encoding #

ToJSON StakeAddress 
Instance details

Defined in Cardano.Api.Address

Methods

toJSON :: StakeAddress -> Value #

toEncoding :: StakeAddress -> Encoding #

toJSONList :: [StakeAddress] -> Value #

toEncodingList :: [StakeAddress] -> Encoding #

ToJSON StakeCredential 
Instance details

Defined in Cardano.Api.Address

Methods

toJSON :: StakeCredential -> Value #

toEncoding :: StakeCredential -> Encoding #

toJSONList :: [StakeCredential] -> Value #

toEncodingList :: [StakeCredential] -> Encoding #

ToJSON ChainPoint 
Instance details

Defined in Cardano.Api.Block

Methods

toJSON :: ChainPoint -> Value #

toEncoding :: ChainPoint -> Encoding #

toJSONList :: [ChainPoint] -> Value #

toEncodingList :: [ChainPoint] -> Encoding #

ToJSON ChainTip 
Instance details

Defined in Cardano.Api.Block

Methods

toJSON :: ChainTip -> Value #

toEncoding :: ChainTip -> Encoding #

toJSONList :: [ChainTip] -> Value #

toEncodingList :: [ChainTip] -> Encoding #

ToJSON AnyCardanoEra 
Instance details

Defined in Cardano.Api.Eras

Methods

toJSON :: AnyCardanoEra -> Value #

toEncoding :: AnyCardanoEra -> Encoding #

toJSONList :: [AnyCardanoEra] -> Value #

toEncodingList :: [AnyCardanoEra] -> Encoding #

ToJSON OutputFile 
Instance details

Defined in Cardano.Api.IO

Methods

toJSON :: OutputFile -> Value #

toEncoding :: OutputFile -> Encoding #

toJSONList :: [OutputFile] -> Value #

toEncodingList :: [OutputFile] -> Encoding #

ToJSON NetworkId Source # 
Instance details

Defined in Hydra.Cardano.Api.NetworkId

Methods

toJSON :: NetworkId -> Value #

toEncoding :: NetworkId -> Encoding #

toJSONList :: [NetworkId] -> Value #

toEncodingList :: [NetworkId] -> Encoding #

ToJSON CostModel 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSON :: CostModel -> Value #

toEncoding :: CostModel -> Encoding #

toJSONList :: [CostModel] -> Value #

toEncodingList :: [CostModel] -> Encoding #

ToJSON ExecutionUnitPrices 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToJSON PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSON :: PraosNonce -> Value #

toEncoding :: PraosNonce -> Encoding #

toJSONList :: [PraosNonce] -> Value #

toEncodingList :: [PraosNonce] -> Encoding #

ToJSON ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToJSON AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

ToJSON ExecutionUnits 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ExecutionUnits -> Value #

toEncoding :: ExecutionUnits -> Encoding #

toJSONList :: [ExecutionUnits] -> Value #

toEncodingList :: [ExecutionUnits] -> Encoding #

ToJSON ScriptHash 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ScriptHash -> Value #

toEncoding :: ScriptHash -> Encoding #

toJSONList :: [ScriptHash] -> Value #

toEncodingList :: [ScriptHash] -> Encoding #

ToJSON ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ScriptInAnyLang -> Value #

toEncoding :: ScriptInAnyLang -> Encoding #

toJSONList :: [ScriptInAnyLang] -> Value #

toEncodingList :: [ScriptInAnyLang] -> Encoding #

ToJSON SimpleScript 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: SimpleScript -> Value #

toEncoding :: SimpleScript -> Encoding #

toJSONList :: [SimpleScript] -> Value #

toEncodingList :: [SimpleScript] -> Encoding #

ToJSON HashableScriptData Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptData

ToJSON ScriptData Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptData

Methods

toJSON :: ScriptData -> Value #

toEncoding :: ScriptData -> Encoding #

toJSONList :: [ScriptData] -> Value #

toEncodingList :: [ScriptData] -> Encoding #

ToJSON TextEnvelopeCddl 
Instance details

Defined in Cardano.Api.SerialiseLedgerCddl

Methods

toJSON :: TextEnvelopeCddl -> Value #

toEncoding :: TextEnvelopeCddl -> Encoding #

toJSONList :: [TextEnvelopeCddl] -> Value #

toEncodingList :: [TextEnvelopeCddl] -> Encoding #

ToJSON TextEnvelope 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

toJSON :: TextEnvelope -> Value #

toEncoding :: TextEnvelope -> Encoding #

toJSONList :: [TextEnvelope] -> Value #

toEncodingList :: [TextEnvelope] -> Encoding #

ToJSON TextEnvelopeDescr 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

ToJSON TextEnvelopeType 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

toJSON :: TextEnvelopeType -> Value #

toEncoding :: TextEnvelopeType -> Encoding #

toJSONList :: [TextEnvelopeType] -> Value #

toEncodingList :: [TextEnvelopeType] -> Encoding #

ToJSON TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxId -> Value #

toEncoding :: TxId -> Encoding #

toJSONList :: [TxId] -> Value #

toEncodingList :: [TxId] -> Encoding #

ToJSON TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxIn -> Value #

toEncoding :: TxIn -> Encoding #

toJSONList :: [TxIn] -> Value #

toEncodingList :: [TxIn] -> Encoding #

ToJSON TxIx 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxIx -> Value #

toEncoding :: TxIx -> Encoding #

toJSONList :: [TxIx] -> Value #

toEncodingList :: [TxIx] -> Encoding #

ToJSON AssetName 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: AssetName -> Value #

toEncoding :: AssetName -> Encoding #

toJSONList :: [AssetName] -> Value #

toEncodingList :: [AssetName] -> Encoding #

ToJSON Lovelace 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: Lovelace -> Value #

toEncoding :: Lovelace -> Encoding #

toJSONList :: [Lovelace] -> Value #

toEncodingList :: [Lovelace] -> Encoding #

ToJSON PolicyId 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: PolicyId -> Value #

toEncoding :: PolicyId -> Encoding #

toJSONList :: [PolicyId] -> Value #

toEncodingList :: [PolicyId] -> Encoding #

ToJSON Quantity 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: Quantity -> Value #

toEncoding :: Quantity -> Encoding #

toJSONList :: [Quantity] -> Value #

toEncodingList :: [Quantity] -> Encoding #

ToJSON Value 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: Value -> Value0 #

toEncoding :: Value -> Encoding #

toJSONList :: [Value] -> Value0 #

toEncodingList :: [Value] -> Encoding #

ToJSON ValueNestedRep 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: ValueNestedRep -> Value #

toEncoding :: ValueNestedRep -> Encoding #

toJSONList :: [ValueNestedRep] -> Value #

toEncodingList :: [ValueNestedRep] -> Encoding #

ToJSON ByteSpan 
Instance details

Defined in Cardano.Binary.Annotated

Methods

toJSON :: ByteSpan -> Value #

toEncoding :: ByteSpan -> Encoding #

toJSONList :: [ByteSpan] -> Value #

toEncodingList :: [ByteSpan] -> Encoding #

ToJSON RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

toJSON :: RedeemVerificationKey -> Value #

toEncoding :: RedeemVerificationKey -> Encoding #

toJSONList :: [RedeemVerificationKey] -> Value #

toEncodingList :: [RedeemVerificationKey] -> Encoding #

ToJSON VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Methods

toJSON :: VerificationKey -> Value #

toEncoding :: VerificationKey -> Encoding #

toJSONList :: [VerificationKey] -> Value #

toEncodingList :: [VerificationKey] -> Encoding #

ToJSON AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

Methods

toJSON :: AlonzoGenesis -> Value #

toEncoding :: AlonzoGenesis -> Encoding #

toJSONList :: [AlonzoGenesis] -> Value #

toEncodingList :: [AlonzoGenesis] -> Encoding #

ToJSON AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

toJSON :: AddrAttributes -> Value #

toEncoding :: AddrAttributes -> Encoding #

toJSONList :: [AddrAttributes] -> Value #

toEncodingList :: [AddrAttributes] -> Encoding #

ToJSON HDAddressPayload 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

toJSON :: HDAddressPayload -> Value #

toEncoding :: HDAddressPayload -> Encoding #

toJSONList :: [HDAddressPayload] -> Value #

toEncodingList :: [HDAddressPayload] -> Encoding #

ToJSON AddrType 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

toJSON :: AddrType -> Value #

toEncoding :: AddrType -> Encoding #

toJSONList :: [AddrType] -> Value #

toEncodingList :: [AddrType] -> Encoding #

ToJSON Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toJSON :: Address -> Value #

toEncoding :: Address -> Encoding #

toJSONList :: [Address] -> Value #

toEncodingList :: [Address] -> Encoding #

ToJSON NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Methods

toJSON :: NetworkMagic -> Value #

toEncoding :: NetworkMagic -> Encoding #

toJSONList :: [NetworkMagic] -> Value #

toEncodingList :: [NetworkMagic] -> Encoding #

ToJSON Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON :: Tx -> Value #

toEncoding :: Tx -> Encoding #

toJSONList :: [Tx] -> Value #

toEncodingList :: [Tx] -> Encoding #

ToJSON TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON :: TxIn -> Value #

toEncoding :: TxIn -> Encoding #

toJSONList :: [TxIn] -> Value #

toEncodingList :: [TxIn] -> Encoding #

ToJSON TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON :: TxOut -> Value #

toEncoding :: TxOut -> Encoding #

toJSONList :: [TxOut] -> Value #

toEncodingList :: [TxOut] -> Encoding #

ToJSON TxInWitness 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toJSON :: TxInWitness -> Value #

toEncoding :: TxInWitness -> Encoding #

toJSONList :: [TxInWitness] -> Value #

toEncodingList :: [TxInWitness] -> Encoding #

ToJSON TxSigData 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toJSON :: TxSigData -> Value #

toEncoding :: TxSigData -> Encoding #

toJSONList :: [TxSigData] -> Value #

toEncodingList :: [TxSigData] -> Encoding #

ToJSON ProposalBody 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toJSON :: ProposalBody -> Value #

toEncoding :: ProposalBody -> Encoding #

toJSONList :: [ProposalBody] -> Value #

toEncodingList :: [ProposalBody] -> Encoding #

ToJSON ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Methods

toJSON :: ProtocolVersion -> Value #

toEncoding :: ProtocolVersion -> Encoding #

toJSONList :: [ProtocolVersion] -> Value #

toEncodingList :: [ProtocolVersion] -> Encoding #

ToJSON SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

toJSON :: SoftwareVersion -> Value #

toEncoding :: SoftwareVersion -> Encoding #

toJSONList :: [SoftwareVersion] -> Value #

toEncodingList :: [SoftwareVersion] -> Encoding #

ToJSON DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: DnsName -> Value #

toEncoding :: DnsName -> Encoding #

toJSONList :: [DnsName] -> Value #

toEncodingList :: [DnsName] -> Encoding #

ToJSON Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Network -> Value #

toEncoding :: Network -> Encoding #

toJSONList :: [Network] -> Value #

toEncodingList :: [Network] -> Encoding #

ToJSON NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: NonNegativeInterval -> Value #

toEncoding :: NonNegativeInterval -> Encoding #

toJSONList :: [NonNegativeInterval] -> Value #

toEncodingList :: [NonNegativeInterval] -> Encoding #

ToJSON Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Nonce -> Value #

toEncoding :: Nonce -> Encoding #

toJSONList :: [Nonce] -> Value #

toEncodingList :: [Nonce] -> Encoding #

ToJSON Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Port -> Value #

toEncoding :: Port -> Encoding #

toJSONList :: [Port] -> Value #

toEncodingList :: [Port] -> Encoding #

ToJSON PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: PositiveInterval -> Value #

toEncoding :: PositiveInterval -> Encoding #

toJSONList :: [PositiveInterval] -> Value #

toEncodingList :: [PositiveInterval] -> Encoding #

ToJSON PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: PositiveUnitInterval -> Value #

toEncoding :: PositiveUnitInterval -> Encoding #

toJSONList :: [PositiveUnitInterval] -> Value #

toEncodingList :: [PositiveUnitInterval] -> Encoding #

ToJSON ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: ProtVer -> Value #

toEncoding :: ProtVer -> Encoding #

toJSONList :: [ProtVer] -> Value #

toEncodingList :: [ProtVer] -> Encoding #

ToJSON UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: UnitInterval -> Value #

toEncoding :: UnitInterval -> Encoding #

toJSONList :: [UnitInterval] -> Value #

toEncodingList :: [UnitInterval] -> Encoding #

ToJSON Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: Url -> Value #

toEncoding :: Url -> Encoding #

toJSONList :: [Url] -> Value #

toEncodingList :: [Url] -> Encoding #

ToJSON Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toJSON :: Coin -> Value #

toEncoding :: Coin -> Encoding #

toJSONList :: [Coin] -> Value #

toEncodingList :: [Coin] -> Encoding #

ToJSON RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

toJSON :: RewardInfoPool -> Value #

toEncoding :: RewardInfoPool -> Encoding #

toJSONList :: [RewardInfoPool] -> Value #

toEncodingList :: [RewardInfoPool] -> Encoding #

ToJSON RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

toJSON :: RewardParams -> Value #

toEncoding :: RewardParams -> Encoding #

toJSONList :: [RewardParams] -> Value #

toEncodingList :: [RewardParams] -> Encoding #

ToJSON PoolMetadata 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

toJSON :: PoolMetadata -> Value #

toEncoding :: PoolMetadata -> Encoding #

toJSONList :: [PoolMetadata] -> Value #

toEncodingList :: [PoolMetadata] -> Encoding #

ToJSON StakePoolRelay 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

toJSON :: StakePoolRelay -> Value #

toEncoding :: StakePoolRelay -> Encoding #

toJSONList :: [StakePoolRelay] -> Value #

toEncodingList :: [StakePoolRelay] -> Encoding #

ToJSON Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toJSON :: Desirability -> Value #

toEncoding :: Desirability -> Encoding #

toJSONList :: [Desirability] -> Value #

toEncodingList :: [Desirability] -> Encoding #

ToJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: EpochNo -> Value #

toEncoding :: EpochNo -> Encoding #

toJSONList :: [EpochNo] -> Value #

toEncodingList :: [EpochNo] -> Encoding #

ToJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: EpochSize -> Value #

toEncoding :: EpochSize -> Encoding #

toJSONList :: [EpochSize] -> Value #

toEncodingList :: [EpochSize] -> Encoding #

ToJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: SlotNo -> Value #

toEncoding :: SlotNo -> Encoding #

toJSONList :: [SlotNo] -> Value #

toEncodingList :: [SlotNo] -> Encoding #

ToJSON IntSet 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: IntSet -> Value #

toEncoding :: IntSet -> Encoding #

toJSONList :: [IntSet] -> Value #

toEncodingList :: [IntSet] -> Encoding #

ToJSON Ordering 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Ordering -> Value #

toEncoding :: Ordering -> Encoding #

toJSONList :: [Ordering] -> Value #

toEncodingList :: [Ordering] -> Encoding #

ToJSON PeerAdvertise 
Instance details

Defined in Ouroboros.Network.PeerSelection.Types

Methods

toJSON :: PeerAdvertise -> Value #

toEncoding :: PeerAdvertise -> Encoding #

toJSONList :: [PeerAdvertise] -> Value #

toEncodingList :: [PeerAdvertise] -> Encoding #

ToJSON Scientific 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Scientific -> Value #

toEncoding :: Scientific -> Encoding #

toJSONList :: [Scientific] -> Value #

toEncodingList :: [Scientific] -> Encoding #

ToJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

toJSON :: StudentT -> Value #

toEncoding :: StudentT -> Encoding #

toJSONList :: [StudentT] -> Value #

toEncodingList :: [StudentT] -> Encoding #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Text -> Value #

toEncoding :: Text -> Encoding #

toJSONList :: [Text] -> Value #

toEncodingList :: [Text] -> Encoding #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Text -> Value #

toEncoding :: Text -> Encoding #

toJSONList :: [Text] -> Value #

toEncodingList :: [Text] -> Encoding #

ToJSON ShortText 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: ShortText -> Value #

toEncoding :: ShortText -> Encoding #

toJSONList :: [ShortText] -> Value #

toEncodingList :: [ShortText] -> Encoding #

ToJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: CalendarDiffDays -> Value #

toEncoding :: CalendarDiffDays -> Encoding #

toJSONList :: [CalendarDiffDays] -> Value #

toEncodingList :: [CalendarDiffDays] -> Encoding #

ToJSON Day 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Day -> Value #

toEncoding :: Day -> Encoding #

toJSONList :: [Day] -> Value #

toEncodingList :: [Day] -> Encoding #

ToJSON Month 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Month -> Value #

toEncoding :: Month -> Encoding #

toJSONList :: [Month] -> Value #

toEncodingList :: [Month] -> Encoding #

ToJSON Quarter 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Quarter -> Value #

toEncoding :: Quarter -> Encoding #

toJSONList :: [Quarter] -> Value #

toEncodingList :: [Quarter] -> Encoding #

ToJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: QuarterOfYear -> Value #

toEncoding :: QuarterOfYear -> Encoding #

toJSONList :: [QuarterOfYear] -> Value #

toEncodingList :: [QuarterOfYear] -> Encoding #

ToJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: DayOfWeek -> Value #

toEncoding :: DayOfWeek -> Encoding #

toJSONList :: [DayOfWeek] -> Value #

toEncodingList :: [DayOfWeek] -> Encoding #

ToJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: DiffTime -> Value #

toEncoding :: DiffTime -> Encoding #

toJSONList :: [DiffTime] -> Value #

toEncodingList :: [DiffTime] -> Encoding #

ToJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: NominalDiffTime -> Value #

toEncoding :: NominalDiffTime -> Encoding #

toJSONList :: [NominalDiffTime] -> Value #

toEncodingList :: [NominalDiffTime] -> Encoding #

ToJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: SystemTime -> Value #

toEncoding :: SystemTime -> Encoding #

toJSONList :: [SystemTime] -> Value #

toEncodingList :: [SystemTime] -> Encoding #

ToJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: UTCTime -> Value #

toEncoding :: UTCTime -> Encoding #

toJSONList :: [UTCTime] -> Value #

toEncodingList :: [UTCTime] -> Encoding #

ToJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: CalendarDiffTime -> Value #

toEncoding :: CalendarDiffTime -> Encoding #

toJSONList :: [CalendarDiffTime] -> Value #

toEncodingList :: [CalendarDiffTime] -> Encoding #

ToJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: LocalTime -> Value #

toEncoding :: LocalTime -> Encoding #

toJSONList :: [LocalTime] -> Value #

toEncodingList :: [LocalTime] -> Encoding #

ToJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: TimeOfDay -> Value #

toEncoding :: TimeOfDay -> Encoding #

toJSONList :: [TimeOfDay] -> Value #

toEncodingList :: [TimeOfDay] -> Encoding #

ToJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: ZonedTime -> Value #

toEncoding :: ZonedTime -> Encoding #

toJSONList :: [ZonedTime] -> Value #

toEncodingList :: [ZonedTime] -> Encoding #

ToJSON UUID 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: UUID -> Value #

toEncoding :: UUID -> Encoding #

toJSONList :: [UUID] -> Value #

toEncodingList :: [UUID] -> Encoding #

ToJSON Integer 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Integer -> Value #

toEncoding :: Integer -> Encoding #

toJSONList :: [Integer] -> Value #

toEncodingList :: [Integer] -> Encoding #

ToJSON Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Natural -> Value #

toEncoding :: Natural -> Encoding #

toJSONList :: [Natural] -> Value #

toEncodingList :: [Natural] -> Encoding #

ToJSON () 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: () -> Value #

toEncoding :: () -> Encoding #

toJSONList :: [()] -> Value #

toEncodingList :: [()] -> Encoding #

ToJSON Bool 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Bool -> Value #

toEncoding :: Bool -> Encoding #

toJSONList :: [Bool] -> Value #

toEncodingList :: [Bool] -> Encoding #

ToJSON Char 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Char -> Value #

toEncoding :: Char -> Encoding #

toJSONList :: [Char] -> Value #

toEncodingList :: [Char] -> Encoding #

ToJSON Double 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Double -> Value #

toEncoding :: Double -> Encoding #

toJSONList :: [Double] -> Value #

toEncodingList :: [Double] -> Encoding #

ToJSON Float 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Float -> Value #

toEncoding :: Float -> Encoding #

toJSONList :: [Float] -> Value #

toEncodingList :: [Float] -> Encoding #

ToJSON Int 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Int -> Value #

toEncoding :: Int -> Encoding #

toJSONList :: [Int] -> Value #

toEncodingList :: [Int] -> Encoding #

ToJSON Word 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Word -> Value #

toEncoding :: Word -> Encoding #

toJSONList :: [Word] -> Value #

toEncodingList :: [Word] -> Encoding #

ToJSON v => ToJSON (KeyMap v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: KeyMap v -> Value #

toEncoding :: KeyMap v -> Encoding #

toJSONList :: [KeyMap v] -> Value #

toEncodingList :: [KeyMap v] -> Encoding #

ToJSON a => ToJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Identity a -> Value #

toEncoding :: Identity a -> Encoding #

toJSONList :: [Identity a] -> Value #

toEncodingList :: [Identity a] -> Encoding #

ToJSON a => ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: First a -> Value #

toEncoding :: First a -> Encoding #

toJSONList :: [First a] -> Value #

toEncodingList :: [First a] -> Encoding #

ToJSON a => ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Last a -> Value #

toEncoding :: Last a -> Encoding #

toJSONList :: [Last a] -> Value #

toEncodingList :: [Last a] -> Encoding #

ToJSON a => ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: First a -> Value #

toEncoding :: First a -> Encoding #

toJSONList :: [First a] -> Value #

toEncodingList :: [First a] -> Encoding #

ToJSON a => ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Last a -> Value #

toEncoding :: Last a -> Encoding #

toJSONList :: [Last a] -> Value #

toEncodingList :: [Last a] -> Encoding #

ToJSON a => ToJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Max a -> Value #

toEncoding :: Max a -> Encoding #

toJSONList :: [Max a] -> Value #

toEncodingList :: [Max a] -> Encoding #

ToJSON a => ToJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Min a -> Value #

toEncoding :: Min a -> Encoding #

toJSONList :: [Min a] -> Value #

toEncodingList :: [Min a] -> Encoding #

ToJSON a => ToJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: WrappedMonoid a -> Value #

toEncoding :: WrappedMonoid a -> Encoding #

toJSONList :: [WrappedMonoid a] -> Value #

toEncodingList :: [WrappedMonoid a] -> Encoding #

ToJSON a => ToJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Dual a -> Value #

toEncoding :: Dual a -> Encoding #

toJSONList :: [Dual a] -> Value #

toEncodingList :: [Dual a] -> Encoding #

(ToJSON a, Integral a) => ToJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Ratio a -> Value #

toEncoding :: Ratio a -> Encoding #

toJSONList :: [Ratio a] -> Value #

toEncodingList :: [Ratio a] -> Encoding #

ToJSON (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

Methods

toJSON :: Address ByronAddr -> Value #

toEncoding :: Address ByronAddr -> Encoding #

toJSONList :: [Address ByronAddr] -> Value #

toEncodingList :: [Address ByronAddr] -> Encoding #

ToJSON (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

IsCardanoEra era => ToJSON (AddressInEra era) 
Instance details

Defined in Cardano.Api.Address

Methods

toJSON :: AddressInEra era -> Value #

toEncoding :: AddressInEra era -> Encoding #

toJSONList :: [AddressInEra era] -> Value #

toEncodingList :: [AddressInEra era] -> Encoding #

ToJSON (CardanoEra era) 
Instance details

Defined in Cardano.Api.Eras

Methods

toJSON :: CardanoEra era -> Value #

toEncoding :: CardanoEra era -> Encoding #

toJSONList :: [CardanoEra era] -> Value #

toEncodingList :: [CardanoEra era] -> Encoding #

ToJSON (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

toJSON :: Hash BlockHeader -> Value #

toEncoding :: Hash BlockHeader -> Encoding #

toJSONList :: [Hash BlockHeader] -> Value #

toEncodingList :: [Hash BlockHeader] -> Encoding #

ToJSON (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash StakePoolKey -> Value #

toEncoding :: Hash StakePoolKey -> Encoding #

toJSONList :: [Hash StakePoolKey] -> Value #

toEncodingList :: [Hash StakePoolKey] -> Encoding #

ToJSON (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSON :: Hash ScriptData -> Value #

toEncoding :: Hash ScriptData -> Encoding #

toJSONList :: [Hash ScriptData] -> Value #

toEncodingList :: [Hash ScriptData] -> Encoding #

ToJSON (LocalTxMonitoringResult mode) 
Instance details

Defined in Cardano.Api.IPC

Methods

toJSON :: LocalTxMonitoringResult mode -> Value #

toEncoding :: LocalTxMonitoringResult mode -> Encoding #

toJSONList :: [LocalTxMonitoringResult mode] -> Value #

toEncodingList :: [LocalTxMonitoringResult mode] -> Encoding #

ToJSON (VerificationKey PaymentKey) Source # 
Instance details

Defined in Hydra.Cardano.Api.VerificationKey

(IsShelleyBasedEra era, ShelleyLedgerEra era ~ ledgerera, ShelleyBasedEra ledgerera, ToJSON (PParams ledgerera), ToJSON (PParamsUpdate ledgerera), ToJSON (TxOut ledgerera), Share (TxOut (ShelleyLedgerEra era)) ~ Interns (Credential 'Staking (Crypto (ShelleyLedgerEra era)))) => ToJSON (DebugLedgerState era) 
Instance details

Defined in Cardano.Api.Query

Methods

toJSON :: DebugLedgerState era -> Value #

toEncoding :: DebugLedgerState era -> Encoding #

toJSONList :: [DebugLedgerState era] -> Value #

toEncodingList :: [DebugLedgerState era] -> Encoding #

IsCardanoEra era => ToJSON (UTxO era) 
Instance details

Defined in Cardano.Api.Query

Methods

toJSON :: UTxO era -> Value #

toEncoding :: UTxO era -> Encoding #

toJSONList :: [UTxO era] -> Value #

toEncodingList :: [UTxO era] -> Encoding #

IsPlutusScriptLanguage lang => ToJSON (PlutusScript lang) Source # 
Instance details

Defined in Hydra.Cardano.Api.PlutusScript

Methods

toJSON :: PlutusScript lang -> Value #

toEncoding :: PlutusScript lang -> Encoding #

toJSONList :: [PlutusScript lang] -> Value #

toEncodingList :: [PlutusScript lang] -> Encoding #

IsCardanoEra era => ToJSON (ReferenceScript era) 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ReferenceScript era -> Value #

toEncoding :: ReferenceScript era -> Encoding #

toJSONList :: [ReferenceScript era] -> Value #

toEncodingList :: [ReferenceScript era] -> Encoding #

ToJSON (MultiAssetSupportedInEra era) 
Instance details

Defined in Cardano.Api.TxBody

ToJSON (TxOutValue era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSON :: TxOutValue era -> Value #

toEncoding :: TxOutValue era -> Encoding #

toJSONList :: [TxOutValue era] -> Value #

toEncodingList :: [TxOutValue era] -> Encoding #

ToJSON a => ToJSON (ABlock a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON :: ABlock a -> Value #

toEncoding :: ABlock a -> Encoding #

toJSONList :: [ABlock a] -> Value #

toEncodingList :: [ABlock a] -> Encoding #

ToJSON a => ToJSON (ABlockOrBoundary a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON :: ABlockOrBoundary a -> Value #

toEncoding :: ABlockOrBoundary a -> Encoding #

toJSONList :: [ABlockOrBoundary a] -> Value #

toEncodingList :: [ABlockOrBoundary a] -> Encoding #

ToJSON a => ToJSON (ABoundaryBlock a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON :: ABoundaryBlock a -> Value #

toEncoding :: ABoundaryBlock a -> Encoding #

toJSONList :: [ABoundaryBlock a] -> Value #

toEncodingList :: [ABoundaryBlock a] -> Encoding #

ToJSON a => ToJSON (ABoundaryBody a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON :: ABoundaryBody a -> Value #

toEncoding :: ABoundaryBody a -> Encoding #

toJSONList :: [ABoundaryBody a] -> Value #

toEncodingList :: [ABoundaryBody a] -> Encoding #

ToJSON a => ToJSON (ABlockSignature a) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toJSON :: ABlockSignature a -> Value #

toEncoding :: ABlockSignature a -> Encoding #

toJSONList :: [ABlockSignature a] -> Value #

toEncodingList :: [ABlockSignature a] -> Encoding #

ToJSON a => ToJSON (ABoundaryHeader a) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toJSON :: ABoundaryHeader a -> Value #

toEncoding :: ABoundaryHeader a -> Encoding #

toJSONList :: [ABoundaryHeader a] -> Value #

toEncodingList :: [ABoundaryHeader a] -> Encoding #

ToJSON a => ToJSON (AHeader a) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toJSON :: AHeader a -> Value #

toEncoding :: AHeader a -> Encoding #

toJSONList :: [AHeader a] -> Value #

toEncodingList :: [AHeader a] -> Encoding #

ToJSON a => ToJSON (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

toJSON :: ACertificate a -> Value #

toEncoding :: ACertificate a -> Encoding #

toJSONList :: [ACertificate a] -> Value #

toEncodingList :: [ACertificate a] -> Encoding #

ToJSON a => ToJSON (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

toJSON :: ATxAux a -> Value #

toEncoding :: ATxAux a -> Encoding #

toJSONList :: [ATxAux a] -> Value #

toEncodingList :: [ATxAux a] -> Encoding #

ToJSON a => ToJSON (AProposal a) 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toJSON :: AProposal a -> Value #

toEncoding :: AProposal a -> Encoding #

toJSONList :: [AProposal a] -> Value #

toEncodingList :: [AProposal a] -> Encoding #

ToJSON a => ToJSON (AVote a) 
Instance details

Defined in Cardano.Chain.Update.Vote

Methods

toJSON :: AVote a -> Value #

toEncoding :: AVote a -> Encoding #

toJSONList :: [AVote a] -> Value #

toEncodingList :: [AVote a] -> Encoding #

ToJSON (Addr crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSON :: Addr crypto -> Value #

toEncoding :: Addr crypto -> Encoding #

toJSONList :: [Addr crypto] -> Value #

toEncodingList :: [Addr crypto] -> Encoding #

Crypto crypto => ToJSON (RewardAcnt crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSON :: RewardAcnt crypto -> Value #

toEncoding :: RewardAcnt crypto -> Encoding #

toJSONList :: [RewardAcnt crypto] -> Value #

toEncodingList :: [RewardAcnt crypto] -> Encoding #

Crypto crypto => ToJSON (BlocksMade crypto) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: BlocksMade crypto -> Value #

toEncoding :: BlocksMade crypto -> Encoding #

toJSONList :: [BlocksMade crypto] -> Value #

toEncodingList :: [BlocksMade crypto] -> Encoding #

Crypto crypto => ToJSON (ScriptHash crypto) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toJSON :: ScriptHash crypto -> Value #

toEncoding :: ScriptHash crypto -> Encoding #

toJSONList :: [ScriptHash crypto] -> Value #

toEncodingList :: [ScriptHash crypto] -> Encoding #

Crypto crypto => ToJSON (GenDelegPair crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

toJSON :: GenDelegPair crypto -> Value #

toEncoding :: GenDelegPair crypto -> Encoding #

toJSONList :: [GenDelegPair crypto] -> Value #

toEncodingList :: [GenDelegPair crypto] -> Encoding #

Era era => ToJSON (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toJSON :: ShelleyGenesis era -> Value #

toEncoding :: ShelleyGenesis era -> Encoding #

toJSONList :: [ShelleyGenesis era] -> Value #

toEncodingList :: [ShelleyGenesis era] -> Encoding #

Crypto crypto => ToJSON (ShelleyGenesisStaking crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toJSON :: ShelleyGenesisStaking crypto -> Value #

toEncoding :: ShelleyGenesisStaking crypto -> Encoding #

toJSONList :: [ShelleyGenesisStaking crypto] -> Value #

toEncodingList :: [ShelleyGenesisStaking crypto] -> Encoding #

ToJSON (ShelleyPParams era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toJSON :: ShelleyPParams era -> Value #

toEncoding :: ShelleyPParams era -> Encoding #

toJSONList :: [ShelleyPParams era] -> Value #

toEncodingList :: [ShelleyPParams era] -> Encoding #

Crypto crypto => ToJSON (PoolParams crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

toJSON :: PoolParams crypto -> Value #

toEncoding :: PoolParams crypto -> Encoding #

toJSONList :: [PoolParams crypto] -> Value #

toEncodingList :: [PoolParams crypto] -> Encoding #

Crypto crypto => ToJSON (RewardProvenance crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toJSON :: RewardProvenance crypto -> Value #

toEncoding :: RewardProvenance crypto -> Encoding #

toJSONList :: [RewardProvenance crypto] -> Value #

toEncodingList :: [RewardProvenance crypto] -> Encoding #

Crypto crypto => ToJSON (RewardProvenancePool crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toJSON :: RewardProvenancePool crypto -> Value #

toEncoding :: RewardProvenancePool crypto -> Encoding #

toJSONList :: [RewardProvenancePool crypto] -> Value #

toEncodingList :: [RewardProvenancePool crypto] -> Encoding #

ToJSON a => ToJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

toJSON :: StrictMaybe a -> Value #

toEncoding :: StrictMaybe a -> Encoding #

toJSONList :: [StrictMaybe a] -> Value #

toEncodingList :: [StrictMaybe a] -> Encoding #

ToJSON a => ToJSON (StrictSeq a) 
Instance details

Defined in Data.Sequence.Strict

Methods

toJSON :: StrictSeq a -> Value #

toEncoding :: StrictSeq a -> Encoding #

toJSONList :: [StrictSeq a] -> Value #

toEncodingList :: [StrictSeq a] -> Encoding #

ToJSON a => ToJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: IntMap a -> Value #

toEncoding :: IntMap a -> Encoding #

toJSONList :: [IntMap a] -> Value #

toEncodingList :: [IntMap a] -> Encoding #

ToJSON a => ToJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Seq a -> Value #

toEncoding :: Seq a -> Encoding #

toJSONList :: [Seq a] -> Value #

toEncodingList :: [Seq a] -> Encoding #

ToJSON a => ToJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Set a -> Value #

toEncoding :: Set a -> Encoding #

toJSONList :: [Set a] -> Value #

toEncodingList :: [Set a] -> Encoding #

ToJSON v => ToJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Tree v -> Value #

toEncoding :: Tree v -> Encoding #

toJSONList :: [Tree v] -> Value #

toEncodingList :: [Tree v] -> Encoding #

ToJSON1 f => ToJSON (Fix f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Fix f -> Value #

toEncoding :: Fix f -> Encoding #

toJSONList :: [Fix f] -> Value #

toEncodingList :: [Fix f] -> Encoding #

(ToJSON1 f, Functor f) => ToJSON (Mu f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Mu f -> Value #

toEncoding :: Mu f -> Encoding #

toJSONList :: [Mu f] -> Value #

toEncodingList :: [Mu f] -> Encoding #

(ToJSON1 f, Functor f) => ToJSON (Nu f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Nu f -> Value #

toEncoding :: Nu f -> Encoding #

toJSONList :: [Nu f] -> Value #

toEncodingList :: [Nu f] -> Encoding #

ToJSON a => ToJSON (DNonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: DNonEmpty a -> Value #

toEncoding :: DNonEmpty a -> Encoding #

toJSONList :: [DNonEmpty a] -> Value #

toEncodingList :: [DNonEmpty a] -> Encoding #

ToJSON a => ToJSON (DList a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: DList a -> Value #

toEncoding :: DList a -> Encoding #

toJSONList :: [DList a] -> Value #

toEncodingList :: [DList a] -> Encoding #

(Generic a, GToJSON' Value Zero (Rep a), GToJSON' Encoding Zero (Rep a)) => ToJSON (Generically a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Generically a -> Value #

toEncoding :: Generically a -> Encoding #

toJSONList :: [Generically a] -> Value #

toEncodingList :: [Generically a] -> Encoding #

ToJSON out => ToJSON (UTxO' out) Source # 
Instance details

Defined in Cardano.Api.UTxO

Methods

toJSON :: UTxO' out -> Value #

toEncoding :: UTxO' out -> Encoding #

toJSONList :: [UTxO' out] -> Value #

toEncodingList :: [UTxO' out] -> Encoding #

SerialiseAsRawBytes a => ToJSON (UsingRawBytesHex a) Source # 
Instance details

Defined in Hydra.Cardano.Api.UsingRawBytesHex

Methods

toJSON :: UsingRawBytesHex a -> Value #

toEncoding :: UsingRawBytesHex a -> Encoding #

toJSONList :: [UsingRawBytesHex a] -> Value #

toEncodingList :: [UsingRawBytesHex a] -> Encoding #

ToJSON a => ToJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Array a -> Value #

toEncoding :: Array a -> Encoding #

toJSONList :: [Array a] -> Value #

toEncodingList :: [Array a] -> Encoding #

(Prim a, ToJSON a) => ToJSON (PrimArray a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: PrimArray a -> Value #

toEncoding :: PrimArray a -> Encoding #

toJSONList :: [PrimArray a] -> Value #

toEncodingList :: [PrimArray a] -> Encoding #

ToJSON a => ToJSON (SmallArray a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: SmallArray a -> Value #

toEncoding :: SmallArray a -> Encoding #

toJSONList :: [SmallArray a] -> Value #

toEncodingList :: [SmallArray a] -> Encoding #

ToJSON d => ToJSON (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

Methods

toJSON :: LinearTransform d -> Value #

toEncoding :: LinearTransform d -> Encoding #

toJSONList :: [LinearTransform d] -> Value #

toEncodingList :: [LinearTransform d] -> Encoding #

ToJSON a => ToJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Maybe a -> Value #

toEncoding :: Maybe a -> Encoding #

toJSONList :: [Maybe a] -> Value #

toEncodingList :: [Maybe a] -> Encoding #

ToJSON a => ToJSON (HashSet a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: HashSet a -> Value #

toEncoding :: HashSet a -> Encoding #

toJSONList :: [HashSet a] -> Value #

toEncodingList :: [HashSet a] -> Encoding #

ToJSON a => ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Vector a -> Value #

toEncoding :: Vector a -> Encoding #

toJSONList :: [Vector a] -> Value #

toEncodingList :: [Vector a] -> Encoding #

(Prim a, ToJSON a) => ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Vector a -> Value #

toEncoding :: Vector a -> Encoding #

toJSONList :: [Vector a] -> Value #

toEncodingList :: [Vector a] -> Encoding #

(Storable a, ToJSON a) => ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Vector a -> Value #

toEncoding :: Vector a -> Encoding #

toJSONList :: [Vector a] -> Value #

toEncodingList :: [Vector a] -> Encoding #

(Vector Vector a, ToJSON a) => ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Vector a -> Value #

toEncoding :: Vector a -> Encoding #

toJSONList :: [Vector a] -> Value #

toEncodingList :: [Vector a] -> Encoding #

ToJSON a => ToJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: NonEmpty a -> Value #

toEncoding :: NonEmpty a -> Encoding #

toJSONList :: [NonEmpty a] -> Value #

toEncodingList :: [NonEmpty a] -> Encoding #

ToJSON a => ToJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Maybe a -> Value #

toEncoding :: Maybe a -> Encoding #

toJSONList :: [Maybe a] -> Value #

toEncodingList :: [Maybe a] -> Encoding #

ToJSON a => ToJSON (a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a) -> Value #

toEncoding :: (a) -> Encoding #

toJSONList :: [(a)] -> Value #

toEncodingList :: [(a)] -> Encoding #

ToJSON a => ToJSON [a] 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: [a] -> Value #

toEncoding :: [a] -> Encoding #

toJSONList :: [[a]] -> Value #

toEncodingList :: [[a]] -> Encoding #

(ToJSON a, ToJSON b) => ToJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Either a b -> Value #

toEncoding :: Either a b -> Encoding #

toJSONList :: [Either a b] -> Value #

toEncodingList :: [Either a b] -> Encoding #

HasResolution a => ToJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Fixed a -> Value #

toEncoding :: Fixed a -> Encoding #

toJSONList :: [Fixed a] -> Value #

toEncodingList :: [Fixed a] -> Encoding #

ToJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Proxy a -> Value #

toEncoding :: Proxy a -> Encoding #

toJSONList :: [Proxy a] -> Value #

toEncodingList :: [Proxy a] -> Encoding #

ToJSON (EraInMode era mode) 
Instance details

Defined in Cardano.Api.Modes

Methods

toJSON :: EraInMode era mode -> Value #

toEncoding :: EraInMode era mode -> Encoding #

toJSONList :: [EraInMode era mode] -> Value #

toEncodingList :: [EraInMode era mode] -> Encoding #

ToJSON (ScriptLanguageInEra lang era) 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ScriptLanguageInEra lang era -> Value #

toEncoding :: ScriptLanguageInEra lang era -> Encoding #

toJSONList :: [ScriptLanguageInEra lang era] -> Value #

toEncodingList :: [ScriptLanguageInEra lang era] -> Encoding #

IsCardanoEra era => ToJSON (TxOut ctx era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSON :: TxOut ctx era -> Value #

toEncoding :: TxOut ctx era -> Encoding #

toJSONList :: [TxOut ctx era] -> Value #

toEncodingList :: [TxOut ctx era] -> Encoding #

ToJSON b => ToJSON (Annotated b a) 
Instance details

Defined in Cardano.Binary.Annotated

Methods

toJSON :: Annotated b a -> Value #

toEncoding :: Annotated b a -> Encoding #

toJSONList :: [Annotated b a] -> Value #

toEncodingList :: [Annotated b a] -> Encoding #

HashAlgorithm h => ToJSON (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

toJSON :: Hash h a -> Value #

toEncoding :: Hash h a -> Encoding #

toJSONList :: [Hash h a] -> Value #

toEncodingList :: [Hash h a] -> Encoding #

(ToJSON v, ToJSONKey k) => ToJSON (ListMap k v) 
Instance details

Defined in Data.ListMap

Methods

toJSON :: ListMap k v -> Value #

toEncoding :: ListMap k v -> Encoding #

toJSONList :: [ListMap k v] -> Value #

toEncodingList :: [ListMap k v] -> Encoding #

ToJSON (BoundedRatio b Word64) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON :: BoundedRatio b Word64 -> Value #

toEncoding :: BoundedRatio b Word64 -> Encoding #

toJSONList :: [BoundedRatio b Word64] -> Value #

toEncodingList :: [BoundedRatio b Word64] -> Encoding #

Crypto crypto => ToJSON (Credential kr crypto) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSON :: Credential kr crypto -> Value #

toEncoding :: Credential kr crypto -> Encoding #

toJSONList :: [Credential kr crypto] -> Value #

toEncodingList :: [Credential kr crypto] -> Encoding #

Crypto crypto => ToJSON (KeyHash disc crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

toJSON :: KeyHash disc crypto -> Value #

toEncoding :: KeyHash disc crypto -> Encoding #

toJSONList :: [KeyHash disc crypto] -> Value #

toEncodingList :: [KeyHash disc crypto] -> Encoding #

(ToJSON v, ToJSONKey k) => ToJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Map k v -> Value #

toEncoding :: Map k v -> Encoding #

toJSONList :: [Map k v] -> Value #

toEncodingList :: [Map k v] -> Encoding #

(ToJSON a, ToJSON b) => ToJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Either a b -> Value #

toEncoding :: Either a b -> Encoding #

toJSONList :: [Either a b] -> Value #

toEncodingList :: [Either a b] -> Encoding #

(ToJSON a, ToJSON b) => ToJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: These a b -> Value #

toEncoding :: These a b -> Encoding #

toJSONList :: [These a b] -> Value #

toEncodingList :: [These a b] -> Encoding #

(ToJSON a, ToJSON b) => ToJSON (Pair a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Pair a b -> Value #

toEncoding :: Pair a b -> Encoding #

toJSONList :: [Pair a b] -> Value #

toEncodingList :: [Pair a b] -> Encoding #

(ToJSON a, ToJSON b) => ToJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: These a b -> Value #

toEncoding :: These a b -> Encoding #

toJSONList :: [These a b] -> Value #

toEncodingList :: [These a b] -> Encoding #

(ToJSON v, ToJSONKey k) => ToJSON (HashMap k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: HashMap k v -> Value #

toEncoding :: HashMap k v -> Encoding #

toJSONList :: [HashMap k v] -> Value #

toEncodingList :: [HashMap k v] -> Encoding #

(ToJSON a, ToJSON b) => ToJSON (a, b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b) -> Value #

toEncoding :: (a, b) -> Encoding #

toJSONList :: [(a, b)] -> Value #

toEncodingList :: [(a, b)] -> Encoding #

ToJSON a => ToJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Const a b -> Value #

toEncoding :: Const a b -> Encoding #

toJSONList :: [Const a b] -> Value #

toEncodingList :: [Const a b] -> Encoding #

ToJSON b => ToJSON (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Tagged a b -> Value #

toEncoding :: Tagged a b -> Encoding #

toJSONList :: [Tagged a b] -> Value #

toEncodingList :: [Tagged a b] -> Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (These1 f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: These1 f g a -> Value #

toEncoding :: These1 f g a -> Encoding #

toJSONList :: [These1 f g a] -> Value #

toEncodingList :: [These1 f g a] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c) => ToJSON (a, b, c) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c) -> Value #

toEncoding :: (a, b, c) -> Encoding #

toJSONList :: [(a, b, c)] -> Value #

toEncodingList :: [(a, b, c)] -> Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Product f g a -> Value #

toEncoding :: Product f g a -> Encoding #

toJSONList :: [Product f g a] -> Value #

toEncodingList :: [Product f g a] -> Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Sum f g a -> Value #

toEncoding :: Sum f g a -> Encoding #

toJSONList :: [Sum f g a] -> Value #

toEncodingList :: [Sum f g a] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d) => ToJSON (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c, d) -> Value #

toEncoding :: (a, b, c, d) -> Encoding #

toJSONList :: [(a, b, c, d)] -> Value #

toEncodingList :: [(a, b, c, d)] -> Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Compose f g a -> Value #

toEncoding :: Compose f g a -> Encoding #

toJSONList :: [Compose f g a] -> Value #

toEncodingList :: [Compose f g a] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e) => ToJSON (a, b, c, d, e) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c, d, e) -> Value #

toEncoding :: (a, b, c, d, e) -> Encoding #

toJSONList :: [(a, b, c, d, e)] -> Value #

toEncodingList :: [(a, b, c, d, e)] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f) => ToJSON (a, b, c, d, e, f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c, d, e, f) -> Value #

toEncoding :: (a, b, c, d, e, f) -> Encoding #

toJSONList :: [(a, b, c, d, e, f)] -> Value #

toEncodingList :: [(a, b, c, d, e, f)] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g) => ToJSON (a, b, c, d, e, f, g) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c, d, e, f, g) -> Value #

toEncoding :: (a, b, c, d, e, f, g) -> Encoding #

toJSONList :: [(a, b, c, d, e, f, g)] -> Value #

toEncodingList :: [(a, b, c, d, e, f, g)] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h) => ToJSON (a, b, c, d, e, f, g, h) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c, d, e, f, g, h) -> Value #

toEncoding :: (a, b, c, d, e, f, g, h) -> Encoding #

toJSONList :: [(a, b, c, d, e, f, g, h)] -> Value #

toEncodingList :: [(a, b, c, d, e, f, g, h)] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i) => ToJSON (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c, d, e, f, g, h, i) -> Value #

toEncoding :: (a, b, c, d, e, f, g, h, i) -> Encoding #

toJSONList :: [(a, b, c, d, e, f, g, h, i)] -> Value #

toEncodingList :: [(a, b, c, d, e, f, g, h, i)] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j) => ToJSON (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c, d, e, f, g, h, i, j) -> Value #

toEncoding :: (a, b, c, d, e, f, g, h, i, j) -> Encoding #

toJSONList :: [(a, b, c, d, e, f, g, h, i, j)] -> Value #

toEncodingList :: [(a, b, c, d, e, f, g, h, i, j)] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k) => ToJSON (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c, d, e, f, g, h, i, j, k) -> Value #

toEncoding :: (a, b, c, d, e, f, g, h, i, j, k) -> Encoding #

toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k)] -> Value #

toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k)] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l) => ToJSON (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c, d, e, f, g, h, i, j, k, l) -> Value #

toEncoding :: (a, b, c, d, e, f, g, h, i, j, k, l) -> Encoding #

toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k, l)] -> Value #

toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k, l)] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m) => ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Value #

toEncoding :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Encoding #

toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m)] -> Value #

toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m)] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n) => ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Value #

toEncoding :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Encoding #

toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] -> Value #

toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] -> Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n, ToJSON o) => ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Value #

toEncoding :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Encoding #

toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] -> Value #

toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] -> Encoding #

data Address addrtype where #

Constructors

ByronAddress :: Address -> Address ByronAddr 
ShelleyAddress :: Network -> PaymentCredential StandardCrypto -> StakeReference StandardCrypto -> Address ShelleyAddr 

Instances

Instances details
Arbitrary (Address ByronAddr) Source # 
Instance details

Defined in Hydra.Cardano.Api.Address

FromJSON (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser (Address ByronAddr) #

parseJSONList :: Value -> Parser [Address ByronAddr] #

FromJSON (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser (Address ShelleyAddr) #

parseJSONList :: Value -> Parser [Address ShelleyAddr] #

ToJSON (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

Methods

toJSON :: Address ByronAddr -> Value #

toEncoding :: Address ByronAddr -> Encoding #

toJSONList :: [Address ByronAddr] -> Value #

toEncodingList :: [Address ByronAddr] -> Encoding #

ToJSON (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

Show (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

Methods

showsPrec :: Int -> Address addrtype -> ShowS Source #

show :: Address addrtype -> String Source #

showList :: [Address addrtype] -> ShowS Source #

SerialiseAddress (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

SerialiseAddress (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

HasTypeProxy addrtype => HasTypeProxy (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType (Address addrtype) #

Methods

proxyToAsType :: Proxy (Address addrtype) -> AsType (Address addrtype) #

SerialiseAsBech32 (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

NFData (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

Methods

rnf :: Address addrtype -> () Source #

Eq (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

Methods

(==) :: Address addrtype -> Address addrtype -> Bool Source #

(/=) :: Address addrtype -> Address addrtype -> Bool Source #

Ord (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

Methods

compare :: Address addrtype -> Address addrtype -> Ordering Source #

(<) :: Address addrtype -> Address addrtype -> Bool Source #

(<=) :: Address addrtype -> Address addrtype -> Bool Source #

(>) :: Address addrtype -> Address addrtype -> Bool Source #

(>=) :: Address addrtype -> Address addrtype -> Bool Source #

max :: Address addrtype -> Address addrtype -> Address addrtype Source #

min :: Address addrtype -> Address addrtype -> Address addrtype Source #

data AsType (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

data AsType (Address addrtype) = AsAddress (AsType addrtype)

data AddressAny #

Instances

Instances details
Show AddressAny 
Instance details

Defined in Cardano.Api.Address

SerialiseAddress AddressAny 
Instance details

Defined in Cardano.Api.Address

HasTypeProxy AddressAny 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType AddressAny #

SerialiseAsRawBytes AddressAny 
Instance details

Defined in Cardano.Api.Address

Eq AddressAny 
Instance details

Defined in Cardano.Api.Address

Ord AddressAny 
Instance details

Defined in Cardano.Api.Address

data AsType AddressAny 
Instance details

Defined in Cardano.Api.Address

data ByronAddr #

Instances

Instances details
HasTypeProxy ByronAddr 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType ByronAddr #

Arbitrary (Address ByronAddr) Source # 
Instance details

Defined in Hydra.Cardano.Api.Address

FromJSON (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser (Address ByronAddr) #

parseJSONList :: Value -> Parser [Address ByronAddr] #

ToJSON (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

Methods

toJSON :: Address ByronAddr -> Value #

toEncoding :: Address ByronAddr -> Encoding #

toJSONList :: [Address ByronAddr] -> Value #

toEncodingList :: [Address ByronAddr] -> Encoding #

SerialiseAddress (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

data AsType ByronAddr 
Instance details

Defined in Cardano.Api.Address

data ShelleyAddr #

Instances

Instances details
HasTypeProxy ShelleyAddr 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType ShelleyAddr #

FromJSON (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser (Address ShelleyAddr) #

parseJSONList :: Value -> Parser [Address ShelleyAddr] #

ToJSON (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

SerialiseAddress (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

SerialiseAsBech32 (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

data AsType ShelleyAddr 
Instance details

Defined in Cardano.Api.Address

data StakeAddress #

Instances

Instances details
FromJSON StakeAddress 
Instance details

Defined in Cardano.Api.Address

Methods

parseJSON :: Value -> Parser StakeAddress #

parseJSONList :: Value -> Parser [StakeAddress] #

ToJSON StakeAddress 
Instance details

Defined in Cardano.Api.Address

Methods

toJSON :: StakeAddress -> Value #

toEncoding :: StakeAddress -> Encoding #

toJSONList :: [StakeAddress] -> Value #

toEncodingList :: [StakeAddress] -> Encoding #

Show StakeAddress 
Instance details

Defined in Cardano.Api.Address

SerialiseAddress StakeAddress 
Instance details

Defined in Cardano.Api.Address

HasTypeProxy StakeAddress 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType StakeAddress #

SerialiseAsBech32 StakeAddress 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes StakeAddress 
Instance details

Defined in Cardano.Api.Address

Eq StakeAddress 
Instance details

Defined in Cardano.Api.Address

Ord StakeAddress 
Instance details

Defined in Cardano.Api.Address

data AsType StakeAddress 
Instance details

Defined in Cardano.Api.Address

data Block era where #

Bundled Patterns

pattern Block :: BlockHeader -> [Tx era] -> Block era 

Instances

Instances details
Show (Block era) 
Instance details

Defined in Cardano.Api.Block

Methods

showsPrec :: Int -> Block era -> ShowS Source #

show :: Block era -> String Source #

showList :: [Block era] -> ShowS Source #

data BlockHeader #

Instances

Instances details
Arbitrary BlockHeader Source # 
Instance details

Defined in Hydra.Cardano.Api.BlockHeader

HasTypeProxy BlockHeader 
Instance details

Defined in Cardano.Api.Block

Associated Types

data AsType BlockHeader #

FromJSON (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON :: Value -> Parser (Hash BlockHeader) #

parseJSONList :: Value -> Parser [Hash BlockHeader] #

ToJSON (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

toJSON :: Hash BlockHeader -> Value #

toEncoding :: Hash BlockHeader -> Encoding #

toJSONList :: [Hash BlockHeader] -> Value #

toEncodingList :: [Hash BlockHeader] -> Encoding #

IsString (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Show (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

SerialiseAsRawBytes (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Eq (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Ord (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

data AsType BlockHeader 
Instance details

Defined in Cardano.Api.Block

newtype Hash BlockHeader 
Instance details

Defined in Cardano.Api.Block

newtype Hash BlockHeader = HeaderHash ShortByteString

data BlockInMode mode where #

Constructors

BlockInMode :: forall era mode. IsCardanoEra era => Block era -> EraInMode era mode -> BlockInMode mode 

Instances

Instances details
Show (BlockInMode mode) 
Instance details

Defined in Cardano.Api.Block

data ChainTip #

Instances

Instances details
ToJSON ChainTip 
Instance details

Defined in Cardano.Api.Block

Methods

toJSON :: ChainTip -> Value #

toEncoding :: ChainTip -> Encoding #

toJSONList :: [ChainTip] -> Value #

toEncodingList :: [ChainTip] -> Encoding #

Show ChainTip 
Instance details

Defined in Cardano.Api.Block

Eq ChainTip 
Instance details

Defined in Cardano.Api.Block

data Certificate #

Instances

Instances details
Show Certificate 
Instance details

Defined in Cardano.Api.Certificate

HasTypeProxy Certificate 
Instance details

Defined in Cardano.Api.Certificate

Associated Types

data AsType Certificate #

SerialiseAsCBOR Certificate 
Instance details

Defined in Cardano.Api.Certificate

HasTextEnvelope Certificate 
Instance details

Defined in Cardano.Api.Certificate

FromCBOR Certificate 
Instance details

Defined in Cardano.Api.Certificate

Methods

fromCBOR :: Decoder s Certificate

label :: Proxy Certificate -> Text

ToCBOR Certificate 
Instance details

Defined in Cardano.Api.Certificate

Methods

toCBOR :: Certificate -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Certificate -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Certificate] -> Size

Eq Certificate 
Instance details

Defined in Cardano.Api.Certificate

data AsType Certificate 
Instance details

Defined in Cardano.Api.Certificate

newtype EnvSocketError #

Constructors

CliEnvVarLookup Text 

Instances

Instances details
Show EnvSocketError 
Instance details

Defined in Cardano.Api.Environment

class EraCast (f :: Type -> Type) where #

Methods

eraCast :: (IsCardanoEra fromEra, IsCardanoEra toEra) => CardanoEra toEra -> f fromEra -> Either EraCastError (f toEra) #

Instances

Instances details
EraCast AddressInEra 
Instance details

Defined in Cardano.Api.Address

Methods

eraCast :: (IsCardanoEra fromEra, IsCardanoEra toEra) => CardanoEra toEra -> AddressInEra fromEra -> Either EraCastError (AddressInEra toEra) #

EraCast UTxO 
Instance details

Defined in Cardano.Api.Query

Methods

eraCast :: (IsCardanoEra fromEra, IsCardanoEra toEra) => CardanoEra toEra -> UTxO fromEra -> Either EraCastError (UTxO toEra) #

EraCast ReferenceScript 
Instance details

Defined in Cardano.Api.Script

Methods

eraCast :: (IsCardanoEra fromEra, IsCardanoEra toEra) => CardanoEra toEra -> ReferenceScript fromEra -> Either EraCastError (ReferenceScript toEra) #

EraCast TxOutValue 
Instance details

Defined in Cardano.Api.TxBody

Methods

eraCast :: (IsCardanoEra fromEra, IsCardanoEra toEra) => CardanoEra toEra -> TxOutValue fromEra -> Either EraCastError (TxOutValue toEra) #

EraCast (AddressTypeInEra addrtype) 
Instance details

Defined in Cardano.Api.Address

Methods

eraCast :: (IsCardanoEra fromEra, IsCardanoEra toEra) => CardanoEra toEra -> AddressTypeInEra addrtype fromEra -> Either EraCastError (AddressTypeInEra addrtype toEra) #

EraCast (TxOut ctx) 
Instance details

Defined in Cardano.Api.TxBody

Methods

eraCast :: (IsCardanoEra fromEra, IsCardanoEra toEra) => CardanoEra toEra -> TxOut ctx fromEra -> Either EraCastError (TxOut ctx toEra) #

EraCast (TxOutDatum ctx) 
Instance details

Defined in Cardano.Api.TxBody

Methods

eraCast :: (IsCardanoEra fromEra, IsCardanoEra toEra) => CardanoEra toEra -> TxOutDatum ctx fromEra -> Either EraCastError (TxOutDatum ctx toEra) #

data EraCastError #

Constructors

(IsCardanoEra fromEra, IsCardanoEra toEra, Show value) => EraCastError 

Fields

data AllegraEra #

Instances

Instances details
IsCardanoEra AllegraEra 
Instance details

Defined in Cardano.Api.Eras

IsShelleyBasedEra AllegraEra 
Instance details

Defined in Cardano.Api.Eras

HasTypeProxy AllegraEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType AllegraEra #

FromJSON (EraInMode AllegraEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode AllegraEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode AllegraEra CardanoMode] #

data AsType AllegraEra 
Instance details

Defined in Cardano.Api.Eras

data AnyCardanoEra where #

Constructors

AnyCardanoEra :: forall era. IsCardanoEra era => CardanoEra era -> AnyCardanoEra 

Instances

Instances details
FromJSON AnyCardanoEra 
Instance details

Defined in Cardano.Api.Eras

Methods

parseJSON :: Value -> Parser AnyCardanoEra #

parseJSONList :: Value -> Parser [AnyCardanoEra] #

ToJSON AnyCardanoEra 
Instance details

Defined in Cardano.Api.Eras

Methods

toJSON :: AnyCardanoEra -> Value #

toEncoding :: AnyCardanoEra -> Encoding #

toJSONList :: [AnyCardanoEra] -> Value #

toEncodingList :: [AnyCardanoEra] -> Encoding #

Bounded AnyCardanoEra 
Instance details

Defined in Cardano.Api.Eras

Enum AnyCardanoEra 
Instance details

Defined in Cardano.Api.Eras

Show AnyCardanoEra 
Instance details

Defined in Cardano.Api.Eras

Eq AnyCardanoEra 
Instance details

Defined in Cardano.Api.Eras

data BabbageEra #

Instances

Instances details
IsCardanoEra BabbageEra 
Instance details

Defined in Cardano.Api.Eras

IsShelleyBasedEra BabbageEra 
Instance details

Defined in Cardano.Api.Eras

HasTypeProxy BabbageEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType BabbageEra #

HasMultiAsset BabbageEra Source # 
Instance details

Defined in Hydra.Cardano.Api.MultiAssetSupportedInEra

HasInlineDatums BabbageEra Source # 
Instance details

Defined in Hydra.Cardano.Api.ReferenceTxInsScriptsInlineDatumsSupportedInEra

HasScriptData BabbageEra Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptDataSupportedInEra

HasScriptLanguage PlutusScriptV1 BabbageEra Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptLanguageInEra

HasScriptLanguage PlutusScriptV2 BabbageEra Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptLanguageInEra

Arbitrary (TxValidityLowerBound Era) Source # 
Instance details

Defined in Hydra.Cardano.Api.ValidityInterval

Arbitrary (TxValidityUpperBound Era) Source # 
Instance details

Defined in Hydra.Cardano.Api.ValidityInterval

FromJSON (EraInMode BabbageEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode BabbageEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode BabbageEra CardanoMode] #

data AsType BabbageEra 
Instance details

Defined in Cardano.Api.Eras

data ByronEra #

Instances

Instances details
IsCardanoEra ByronEra 
Instance details

Defined in Cardano.Api.Eras

HasTypeProxy ByronEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType ByronEra #

FromJSON (EraInMode ByronEra ByronMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ByronEra ByronMode) #

parseJSONList :: Value -> Parser [EraInMode ByronEra ByronMode] #

FromJSON (EraInMode ByronEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ByronEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode ByronEra CardanoMode] #

data AsType ByronEra 
Instance details

Defined in Cardano.Api.Eras

data CardanoEra era where #

Instances

Instances details
TestEquality CardanoEra 
Instance details

Defined in Cardano.Api.Eras

Methods

testEquality :: forall (a :: k) (b :: k). CardanoEra a -> CardanoEra b -> Maybe (a :~: b) Source #

ToJSON (CardanoEra era) 
Instance details

Defined in Cardano.Api.Eras

Methods

toJSON :: CardanoEra era -> Value #

toEncoding :: CardanoEra era -> Encoding #

toJSONList :: [CardanoEra era] -> Value #

toEncodingList :: [CardanoEra era] -> Encoding #

Show (CardanoEra era) 
Instance details

Defined in Cardano.Api.Eras

Eq (CardanoEra era) 
Instance details

Defined in Cardano.Api.Eras

Methods

(==) :: CardanoEra era -> CardanoEra era -> Bool Source #

(/=) :: CardanoEra era -> CardanoEra era -> Bool Source #

Ord (CardanoEra era) 
Instance details

Defined in Cardano.Api.Eras

data ConwayEra #

Instances

Instances details
IsCardanoEra ConwayEra 
Instance details

Defined in Cardano.Api.Eras

IsShelleyBasedEra ConwayEra 
Instance details

Defined in Cardano.Api.Eras

HasTypeProxy ConwayEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType ConwayEra #

FromJSON (EraInMode ConwayEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ConwayEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode ConwayEra CardanoMode] #

data AsType ConwayEra 
Instance details

Defined in Cardano.Api.Eras

data InAnyCardanoEra (thing :: Type -> Type) where #

Constructors

InAnyCardanoEra :: forall era (thing :: Type -> Type). IsCardanoEra era => CardanoEra era -> thing era -> InAnyCardanoEra thing 

data InAnyShelleyBasedEra (thing :: Type -> Type) where #

Constructors

InAnyShelleyBasedEra :: forall era (thing :: Type -> Type). IsShelleyBasedEra era => ShelleyBasedEra era -> thing era -> InAnyShelleyBasedEra thing 

class HasTypeProxy era => IsCardanoEra era where #

Methods

cardanoEra :: CardanoEra era #

Instances

Instances details
IsCardanoEra AllegraEra 
Instance details

Defined in Cardano.Api.Eras

IsCardanoEra AlonzoEra 
Instance details

Defined in Cardano.Api.Eras

IsCardanoEra BabbageEra 
Instance details

Defined in Cardano.Api.Eras

IsCardanoEra ByronEra 
Instance details

Defined in Cardano.Api.Eras

IsCardanoEra ConwayEra 
Instance details

Defined in Cardano.Api.Eras

IsCardanoEra MaryEra 
Instance details

Defined in Cardano.Api.Eras

IsCardanoEra ShelleyEra 
Instance details

Defined in Cardano.Api.Eras

type Mary = MaryEra #

data MaryEra #

Instances

Instances details
IsCardanoEra MaryEra 
Instance details

Defined in Cardano.Api.Eras

IsShelleyBasedEra MaryEra 
Instance details

Defined in Cardano.Api.Eras

HasTypeProxy MaryEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType MaryEra #

HasMultiAsset MaryEra Source # 
Instance details

Defined in Hydra.Cardano.Api.MultiAssetSupportedInEra

FromJSON (EraInMode MaryEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode MaryEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode MaryEra CardanoMode] #

data AsType MaryEra 
Instance details

Defined in Cardano.Api.Eras

data ShelleyBasedEra era where #

Instances

Instances details
Show (ShelleyBasedEra era) 
Instance details

Defined in Cardano.Api.Eras

NFData (ShelleyBasedEra era) 
Instance details

Defined in Cardano.Api.Eras

Methods

rnf :: ShelleyBasedEra era -> () Source #

Eq (ShelleyBasedEra era) 
Instance details

Defined in Cardano.Api.Eras

Ord (ShelleyBasedEra era) 
Instance details

Defined in Cardano.Api.Eras

data ShelleyEra #

Instances

Instances details
IsCardanoEra ShelleyEra 
Instance details

Defined in Cardano.Api.Eras

IsShelleyBasedEra ShelleyEra 
Instance details

Defined in Cardano.Api.Eras

HasTypeProxy ShelleyEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType ShelleyEra #

FromJSON (EraInMode ShelleyEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ShelleyEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode ShelleyEra CardanoMode] #

FromJSON (EraInMode ShelleyEra ShelleyMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ShelleyEra ShelleyMode) #

parseJSONList :: Value -> Parser [EraInMode ShelleyEra ShelleyMode] #

data AsType ShelleyEra 
Instance details

Defined in Cardano.Api.Eras

class Show e => Error e where #

Methods

displayError :: e -> String #

Instances

Instances details
Error IOException 
Instance details

Defined in Cardano.Api.Error

Error InputDecodeError 
Instance details

Defined in Cardano.Api.DeserialiseAnyOf

Error MinimumUTxOError 
Instance details

Defined in Cardano.Api.Fees

Error ScriptExecutionError 
Instance details

Defined in Cardano.Api.Fees

Error TransactionValidityError 
Instance details

Defined in Cardano.Api.Fees

Error TxBodyErrorAutoBalance 
Instance details

Defined in Cardano.Api.Fees

Error LeadershipError 
Instance details

Defined in Cardano.Api.LedgerState

Error OperationalCertIssueError 
Instance details

Defined in Cardano.Api.OperationalCertificate

Error InvalidCostModel 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

displayError :: InvalidCostModel -> String #

Error ProtocolParametersError 
Instance details

Defined in Cardano.Api.ProtocolParameters

Error ScriptDataJsonBytesError 
Instance details

Defined in Cardano.Api.ScriptData

Error ScriptDataJsonError 
Instance details

Defined in Cardano.Api.ScriptData

Error ScriptDataJsonSchemaError 
Instance details

Defined in Cardano.Api.ScriptData

Error ScriptDataRangeError 
Instance details

Defined in Cardano.Api.ScriptData

Error Bech32DecodeError 
Instance details

Defined in Cardano.Api.SerialiseBech32

Error JsonDecodeError 
Instance details

Defined in Cardano.Api.SerialiseJSON

Error TextEnvelopeCddlError 
Instance details

Defined in Cardano.Api.SerialiseLedgerCddl

Error RawBytesHexError 
Instance details

Defined in Cardano.Api.SerialiseRaw

Error TextEnvelopeError 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Error StakePoolMetadataValidationError 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Error TxBodyError 
Instance details

Defined in Cardano.Api.TxBody

Error TxMetadataJsonError 
Instance details

Defined in Cardano.Api.TxMetadata

Error TxMetadataJsonSchemaError 
Instance details

Defined in Cardano.Api.TxMetadata

Error TxMetadataRangeError 
Instance details

Defined in Cardano.Api.TxMetadata

Error () 
Instance details

Defined in Cardano.Api.Error

Methods

displayError :: () -> String #

Error e => Error (FileError e) 
Instance details

Defined in Cardano.Api.Error

data FileError e #

Instances

Instances details
Functor FileError 
Instance details

Defined in Cardano.Api.Error

Methods

fmap :: (a -> b) -> FileError a -> FileError b Source #

(<$) :: a -> FileError b -> FileError a Source #

Show e => Show (FileError e) 
Instance details

Defined in Cardano.Api.Error

Error e => Error (FileError e) 
Instance details

Defined in Cardano.Api.Error

Eq e => Eq (FileError e) 
Instance details

Defined in Cardano.Api.Error

data family AsType t #

Instances

Instances details
data AsType AddressAny 
Instance details

Defined in Cardano.Api.Address

data AsType ByronAddr 
Instance details

Defined in Cardano.Api.Address

data AsType ShelleyAddr 
Instance details

Defined in Cardano.Api.Address

data AsType StakeAddress 
Instance details

Defined in Cardano.Api.Address

data AsType BlockHeader 
Instance details

Defined in Cardano.Api.Block

data AsType Certificate 
Instance details

Defined in Cardano.Api.Certificate

data AsType AllegraEra 
Instance details

Defined in Cardano.Api.Eras

data AsType AlonzoEra 
Instance details

Defined in Cardano.Api.Eras

data AsType BabbageEra 
Instance details

Defined in Cardano.Api.Eras

data AsType ByronEra 
Instance details

Defined in Cardano.Api.Eras

data AsType ConwayEra 
Instance details

Defined in Cardano.Api.Eras

data AsType MaryEra 
Instance details

Defined in Cardano.Api.Eras

data AsType ShelleyEra 
Instance details

Defined in Cardano.Api.Eras

data AsType ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

data AsType ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

data AsType KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

data AsType VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

data AsType GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType PlutusScriptV1 
Instance details

Defined in Cardano.Api.Script

data AsType PlutusScriptV2 
Instance details

Defined in Cardano.Api.Script

data AsType ScriptHash 
Instance details

Defined in Cardano.Api.Script

data AsType ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

data AsType SimpleScript' 
Instance details

Defined in Cardano.Api.Script

data AsType HashableScriptData 
Instance details

Defined in Cardano.Api.ScriptData

data AsType ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

data AsType TextEnvelope 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

data AsType ByronUpdateProposal 
Instance details

Defined in Cardano.Api.SpecialByron

data AsType ByronUpdateProposal = AsByronUpdateProposal
data AsType ByronVote 
Instance details

Defined in Cardano.Api.SpecialByron

data AsType ByronVote = AsByronVote
data AsType StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

data AsType TxId 
Instance details

Defined in Cardano.Api.TxIn

data AsType TxMetadata 
Instance details

Defined in Cardano.Api.TxMetadata

data AsType AssetName 
Instance details

Defined in Cardano.Api.Value

data AsType PolicyId 
Instance details

Defined in Cardano.Api.Value

data AsType (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

data AsType (Address addrtype) = AsAddress (AsType addrtype)
data AsType (AddressInEra era) 
Instance details

Defined in Cardano.Api.Address

data AsType (Hash a) 
Instance details

Defined in Cardano.Api.Hash

data AsType (Hash a) = AsHash (AsType a)
data AsType (SigningKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

data AsType (VerificationKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

data AsType (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

data AsType (Script lang) 
Instance details

Defined in Cardano.Api.Script

data AsType (Script lang) = AsScript (AsType lang)
data AsType (ScriptInEra era) 
Instance details

Defined in Cardano.Api.Script

data AsType (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx

data AsType (Tx era) 
Instance details

Defined in Cardano.Api.Tx

data AsType (Tx era) = AsTx (AsType era)
data AsType (TxBody era) 
Instance details

Defined in Cardano.Api.TxBody

data AsType (TxBody era) = AsTxBody (AsType era)

data FromSomeType (c :: Type -> Constraint) b where #

Constructors

FromSomeType :: forall (c :: Type -> Constraint) a b. c a => AsType a -> (a -> b) -> FromSomeType c b 

class Typeable t => HasTypeProxy t where #

Associated Types

data AsType t #

Methods

proxyToAsType :: Proxy t -> AsType t #

Instances

Instances details
HasTypeProxy AddressAny 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType AddressAny #

HasTypeProxy ByronAddr 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType ByronAddr #

HasTypeProxy ShelleyAddr 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType ShelleyAddr #

HasTypeProxy StakeAddress 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType StakeAddress #

HasTypeProxy BlockHeader 
Instance details

Defined in Cardano.Api.Block

Associated Types

data AsType BlockHeader #

HasTypeProxy Certificate 
Instance details

Defined in Cardano.Api.Certificate

Associated Types

data AsType Certificate #

HasTypeProxy AllegraEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType AllegraEra #

HasTypeProxy AlonzoEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType AlonzoEra #

HasTypeProxy BabbageEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType BabbageEra #

HasTypeProxy ByronEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType ByronEra #

HasTypeProxy ConwayEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType ConwayEra #

HasTypeProxy MaryEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType MaryEra #

HasTypeProxy ShelleyEra 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType ShelleyEra #

HasTypeProxy ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

Associated Types

data AsType ByronKey #

HasTypeProxy ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

Associated Types

data AsType ByronKeyLegacy #

HasTypeProxy KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

Associated Types

data AsType KesKey #

HasTypeProxy VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

Associated Types

data AsType VrfKey #

HasTypeProxy GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType GenesisDelegateExtendedKey #

HasTypeProxy GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType GenesisDelegateKey #

HasTypeProxy GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType GenesisExtendedKey #

HasTypeProxy GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType GenesisKey #

HasTypeProxy GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType GenesisUTxOKey #

HasTypeProxy PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType PaymentExtendedKey #

HasTypeProxy PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType PaymentKey #

HasTypeProxy StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType StakeExtendedKey #

HasTypeProxy StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType StakeKey #

HasTypeProxy StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType StakePoolKey #

HasTypeProxy OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

Associated Types

data AsType OperationalCertificate #

HasTypeProxy OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTypeProxy PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

data AsType PraosNonce #

HasTypeProxy UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

data AsType UpdateProposal #

HasTypeProxy PlutusScriptV1 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType PlutusScriptV1 #

HasTypeProxy PlutusScriptV2 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType PlutusScriptV2 #

HasTypeProxy ScriptHash 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType ScriptHash #

HasTypeProxy ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType ScriptInAnyLang #

HasTypeProxy SimpleScript' 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType SimpleScript' #

HasTypeProxy HashableScriptData 
Instance details

Defined in Cardano.Api.ScriptData

Associated Types

data AsType HashableScriptData #

HasTypeProxy ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

Associated Types

data AsType ScriptData #

HasTypeProxy TextEnvelope 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Associated Types

data AsType TextEnvelope #

HasTypeProxy ByronUpdateProposal 
Instance details

Defined in Cardano.Api.SpecialByron

Associated Types

data AsType ByronUpdateProposal #

Methods

proxyToAsType :: Proxy ByronUpdateProposal -> AsType ByronUpdateProposal #

HasTypeProxy ByronVote 
Instance details

Defined in Cardano.Api.SpecialByron

Associated Types

data AsType ByronVote #

Methods

proxyToAsType :: Proxy ByronVote -> AsType ByronVote #

HasTypeProxy StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Associated Types

data AsType StakePoolMetadata #

HasTypeProxy TxId 
Instance details

Defined in Cardano.Api.TxIn

Associated Types

data AsType TxId #

HasTypeProxy TxMetadata 
Instance details

Defined in Cardano.Api.TxMetadata

Associated Types

data AsType TxMetadata #

HasTypeProxy AssetName 
Instance details

Defined in Cardano.Api.Value

Associated Types

data AsType AssetName #

HasTypeProxy PolicyId 
Instance details

Defined in Cardano.Api.Value

Associated Types

data AsType PolicyId #

HasTypeProxy addrtype => HasTypeProxy (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType (Address addrtype) #

Methods

proxyToAsType :: Proxy (Address addrtype) -> AsType (Address addrtype) #

HasTypeProxy era => HasTypeProxy (AddressInEra era) 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType (AddressInEra era) #

HasTypeProxy a => HasTypeProxy (Hash a) 
Instance details

Defined in Cardano.Api.Hash

Associated Types

data AsType (Hash a) #

Methods

proxyToAsType :: Proxy (Hash a) -> AsType (Hash a) #

HasTypeProxy a => HasTypeProxy (SigningKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

Associated Types

data AsType (SigningKey a) #

HasTypeProxy a => HasTypeProxy (VerificationKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

Associated Types

data AsType (VerificationKey a) #

HasTypeProxy lang => HasTypeProxy (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType (PlutusScript lang) #

HasTypeProxy lang => HasTypeProxy (Script lang) 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType (Script lang) #

Methods

proxyToAsType :: Proxy (Script lang) -> AsType (Script lang) #

HasTypeProxy era => HasTypeProxy (ScriptInEra era) 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType (ScriptInEra era) #

HasTypeProxy era => HasTypeProxy (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx

Associated Types

data AsType (KeyWitness era) #

Methods

proxyToAsType :: Proxy (KeyWitness era) -> AsType (KeyWitness era) #

HasTypeProxy era => HasTypeProxy (Tx era) 
Instance details

Defined in Cardano.Api.Tx

Associated Types

data AsType (Tx era) #

Methods

proxyToAsType :: Proxy (Tx era) -> AsType (Tx era) #

HasTypeProxy era => HasTypeProxy (TxBody era) 
Instance details

Defined in Cardano.Api.TxBody

Associated Types

data AsType (TxBody era) #

Methods

proxyToAsType :: Proxy (TxBody era) -> AsType (TxBody era) #

castHash :: CastHash roleA roleB => Hash roleA -> Hash roleB #

data family Hash keyrole #

Instances

Instances details
FromJSON (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON :: Value -> Parser (Hash BlockHeader) #

parseJSONList :: Value -> Parser [Hash BlockHeader] #

FromJSON (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash StakePoolKey) #

parseJSONList :: Value -> Parser [Hash StakePoolKey] #

FromJSON (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

parseJSON :: Value -> Parser (Hash ScriptData) #

parseJSONList :: Value -> Parser [Hash ScriptData] #

FromJSONKey (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

fromJSONKey :: FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData]

ToJSON (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

toJSON :: Hash BlockHeader -> Value #

toEncoding :: Hash BlockHeader -> Encoding #

toJSONList :: [Hash BlockHeader] -> Value #

toEncodingList :: [Hash BlockHeader] -> Encoding #

ToJSON (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash StakePoolKey -> Value #

toEncoding :: Hash StakePoolKey -> Encoding #

toJSONList :: [Hash StakePoolKey] -> Value #

toEncodingList :: [Hash StakePoolKey] -> Encoding #

ToJSON (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSON :: Hash ScriptData -> Value #

toEncoding :: Hash ScriptData -> Encoding #

toJSONList :: [Hash ScriptData] -> Value #

toEncodingList :: [Hash ScriptData] -> Encoding #

ToJSONKey (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSONKey :: ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData]

IsString (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

IsString (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Show (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Show (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Show (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

HasTypeProxy a => HasTypeProxy (Hash a) 
Instance details

Defined in Cardano.Api.Hash

Associated Types

data AsType (Hash a) #

Methods

proxyToAsType :: Proxy (Hash a) -> AsType (Hash a) #

SerialiseAsBech32 (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

SerialiseAsRawBytes (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

SerialiseAsRawBytes (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

FromCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

fromCBOR :: Decoder s (Hash ByronKey)

label :: Proxy (Hash ByronKey) -> Text

FromCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (Hash KesKey)

label :: Proxy (Hash KesKey) -> Text

FromCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (Hash VrfKey)

label :: Proxy (Hash VrfKey) -> Text

FromCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash GenesisKey)

label :: Proxy (Hash GenesisKey) -> Text

FromCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash PaymentKey)

label :: Proxy (Hash PaymentKey) -> Text

FromCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakeKey)

label :: Proxy (Hash StakeKey) -> Text

FromCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakePoolKey)

label :: Proxy (Hash StakePoolKey) -> Text

ToCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: Hash ByronKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKey] -> Size

ToCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: Hash ByronKeyLegacy -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKeyLegacy) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKeyLegacy] -> Size

ToCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: Hash KesKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash KesKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash KesKey] -> Size

ToCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: Hash VrfKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash VrfKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash VrfKey] -> Size

ToCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisDelegateExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateExtendedKey] -> Size

ToCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisDelegateKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateKey] -> Size

ToCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisExtendedKey] -> Size

ToCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisKey] -> Size

ToCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisUTxOKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisUTxOKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisUTxOKey] -> Size

ToCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash PaymentExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash PaymentExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash PaymentExtendedKey] -> Size

ToCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash PaymentKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash PaymentKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash PaymentKey] -> Size

ToCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakeExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeExtendedKey] -> Size

ToCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakeKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeKey] -> Size

ToCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakePoolKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakePoolKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakePoolKey] -> Size

Eq (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Eq (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Eq (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Eq (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Eq (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Eq (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Eq (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Ord (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Ord (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Ord (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Ord (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Ord (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Ord (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

newtype Hash BlockHeader 
Instance details

Defined in Cardano.Api.Block

newtype Hash BlockHeader = HeaderHash ShortByteString
newtype Hash ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype Hash ByronKey = ByronKeyHash KeyHash
newtype Hash ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype Hash KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype Hash KesKey = KesKeyHash (Hash StandardCrypto (VerKeyKES StandardCrypto))
newtype Hash VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype Hash VrfKey = VrfKeyHash (Hash StandardCrypto (VerKeyVRF StandardCrypto))
newtype Hash GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisDelegateKey = GenesisDelegateKeyHash (KeyHash 'GenesisDelegate StandardCrypto)
newtype Hash GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisKey = GenesisKeyHash (KeyHash 'Genesis StandardCrypto)
newtype Hash GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash PaymentKey = PaymentKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakeKey = StakeKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

newtype Hash StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

data AsType (Hash a) 
Instance details

Defined in Cardano.Api.Hash

data AsType (Hash a) = AsHash (AsType a)

newtype OutputFile #

Constructors

OutputFile 

Instances

Instances details
FromJSON OutputFile 
Instance details

Defined in Cardano.Api.IO

Methods

parseJSON :: Value -> Parser OutputFile #

parseJSONList :: Value -> Parser [OutputFile] #

ToJSON OutputFile 
Instance details

Defined in Cardano.Api.IO

Methods

toJSON :: OutputFile -> Value #

toEncoding :: OutputFile -> Encoding #

toJSONList :: [OutputFile] -> Value #

toEncodingList :: [OutputFile] -> Encoding #

IsString OutputFile 
Instance details

Defined in Cardano.Api.IO

Generic OutputFile 
Instance details

Defined in Cardano.Api.IO

Associated Types

type Rep OutputFile :: Type -> Type Source #

Show OutputFile 
Instance details

Defined in Cardano.Api.IO

Eq OutputFile 
Instance details

Defined in Cardano.Api.IO

Ord OutputFile 
Instance details

Defined in Cardano.Api.IO

type Rep OutputFile 
Instance details

Defined in Cardano.Api.IO

type Rep OutputFile = D1 ('MetaData "OutputFile" "Cardano.Api.IO" "cardano-api-1.36.0-8mOxmJ0cnFP2t1gQlRfbii" 'True) (C1 ('MetaCons "OutputFile" 'PrefixI 'True) (S1 ('MetaSel ('Just "unOutputFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)))

data LocalChainSyncClient block point tip (m :: Type -> TYPE LiftedRep) #

data LocalNodeClientParams where #

Constructors

LocalNodeClientParamsSingleBlock :: forall block. (ProtocolClient block, LedgerSupportsProtocol (ShelleyBlock (TPraos StandardCrypto) (ShelleyEra StandardCrypto))) => ProtocolClientInfoArgs block -> (NodeToClientVersion -> LocalNodeClientProtocolsForBlock block) -> LocalNodeClientParams 
LocalNodeClientParamsCardano :: forall block. (ProtocolClient block, CardanoHardForkConstraints (ConsensusCryptoForBlock block)) => ProtocolClientInfoArgs block -> (NodeToClientVersion -> LocalNodeClientProtocolsForBlock block) -> LocalNodeClientParams 

data LocalNodeClientProtocols block point tip slot tx txid txerr (query :: Type -> Type) (m :: Type -> TYPE LiftedRep) #

data LocalStateQueryExpr block point (query :: Type -> Type) r (m :: Type -> TYPE LiftedRep) a #

Instances

Instances details
MonadReader NodeToClientVersion (LocalStateQueryExpr block point query r m) 
Instance details

Defined in Cardano.Api.IPC.Monad

Methods

ask :: LocalStateQueryExpr block point query r m NodeToClientVersion

local :: (NodeToClientVersion -> NodeToClientVersion) -> LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m a

reader :: (NodeToClientVersion -> a) -> LocalStateQueryExpr block point query r m a

MonadIO m => MonadIO (LocalStateQueryExpr block point query r m) 
Instance details

Defined in Cardano.Api.IPC.Monad

Methods

liftIO :: IO a -> LocalStateQueryExpr block point query r m a Source #

Applicative (LocalStateQueryExpr block point query r m) 
Instance details

Defined in Cardano.Api.IPC.Monad

Methods

pure :: a -> LocalStateQueryExpr block point query r m a Source #

(<*>) :: LocalStateQueryExpr block point query r m (a -> b) -> LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m b Source #

liftA2 :: (a -> b -> c) -> LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m b -> LocalStateQueryExpr block point query r m c Source #

(*>) :: LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m b -> LocalStateQueryExpr block point query r m b Source #

(<*) :: LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m b -> LocalStateQueryExpr block point query r m a Source #

Functor (LocalStateQueryExpr block point query r m) 
Instance details

Defined in Cardano.Api.IPC.Monad

Methods

fmap :: (a -> b) -> LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m b Source #

(<$) :: a -> LocalStateQueryExpr block point query r m b -> LocalStateQueryExpr block point query r m a Source #

Monad (LocalStateQueryExpr block point query r m) 
Instance details

Defined in Cardano.Api.IPC.Monad

Methods

(>>=) :: LocalStateQueryExpr block point query r m a -> (a -> LocalStateQueryExpr block point query r m b) -> LocalStateQueryExpr block point query r m b Source #

(>>) :: LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m b -> LocalStateQueryExpr block point query r m b Source #

return :: a -> LocalStateQueryExpr block point query r m a Source #

data TxIdInMode mode where #

Constructors

TxIdInMode :: forall era mode. TxId -> EraInMode era mode -> TxIdInMode mode 

data TxInMode mode where #

Constructors

TxInMode :: forall era mode. Tx era -> EraInMode era mode -> TxInMode mode 
TxInByronSpecial :: forall mode. GenTx ByronBlock -> EraInMode ByronEra mode -> TxInMode mode 

Instances

Instances details
Show (TxInMode mode) 
Instance details

Defined in Cardano.Api.InMode

Methods

showsPrec :: Int -> TxInMode mode -> ShowS Source #

show :: TxInMode mode -> String Source #

showList :: [TxInMode mode] -> ShowS Source #

data TxValidationErrorInMode mode where #

Constructors

TxValidationErrorInMode :: forall era mode. TxValidationError era -> EraInMode era mode -> TxValidationErrorInMode mode 
TxValidationEraMismatch :: forall mode. EraMismatch -> TxValidationErrorInMode mode 

Instances

Instances details
Show (TxValidationErrorInMode mode) 
Instance details

Defined in Cardano.Api.InMode

data ByronKey #

Instances

Instances details
HasTypeProxy ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

Associated Types

data AsType ByronKey #

IsByronKey ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

byronKeyFormat :: ByronKeyFormat ByronKey

Key ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

Associated Types

data VerificationKey ByronKey #

data SigningKey ByronKey #

CastVerificationKeyRole ByronKey PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Byron

CastVerificationKeyRole ByronKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Byron

CastVerificationKeyRole ByronKeyLegacy ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

fromCBOR :: Decoder s (Hash ByronKey)

label :: Proxy (Hash ByronKey) -> Text

FromCBOR (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

ToCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: Hash ByronKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKey] -> Size

ToCBOR (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: SigningKey ByronKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey ByronKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey ByronKey] -> Size

ToCBOR (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: VerificationKey ByronKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey ByronKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey ByronKey] -> Size

Eq (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Eq (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Ord (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

data AsType ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype Hash ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype Hash ByronKey = ByronKeyHash KeyHash
newtype SigningKey ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype SigningKey ByronKey = ByronSigningKey SigningKey
newtype VerificationKey ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

data ByronKeyLegacy #

Instances

Instances details
HasTypeProxy ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

Associated Types

data AsType ByronKeyLegacy #

IsByronKey ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

byronKeyFormat :: ByronKeyFormat ByronKeyLegacy

Key ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

CastVerificationKeyRole ByronKeyLegacy ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

ToCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: Hash ByronKeyLegacy -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKeyLegacy) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKeyLegacy] -> Size

ToCBOR (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: SigningKey ByronKeyLegacy -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey ByronKeyLegacy) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey ByronKeyLegacy] -> Size

ToCBOR (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: VerificationKey ByronKeyLegacy -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey ByronKeyLegacy) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey ByronKeyLegacy] -> Size

Eq (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Eq (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Ord (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

data AsType ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype Hash ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype SigningKey ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype VerificationKey ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

castSigningKey :: CastSigningKeyRole keyroleA keyroleB => SigningKey keyroleA -> SigningKey keyroleB #

castVerificationKey :: CastVerificationKeyRole keyroleA keyroleB => VerificationKey keyroleA -> VerificationKey keyroleB #

class (Eq (VerificationKey keyrole), Show (VerificationKey keyrole), SerialiseAsRawBytes (Hash keyrole), HasTextEnvelope (VerificationKey keyrole), HasTextEnvelope (SigningKey keyrole)) => Key keyrole where #

Associated Types

data VerificationKey keyrole #

data SigningKey keyrole #

Instances

Instances details
Key ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

Associated Types

data VerificationKey ByronKey #

data SigningKey ByronKey #

Key ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

Key KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

Associated Types

data VerificationKey KesKey #

data SigningKey KesKey #

Key VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

Associated Types

data VerificationKey VrfKey #

data SigningKey VrfKey #

Key GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Key StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey StakeKey #

data SigningKey StakeKey #

Key StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data family SigningKey keyrole #

Instances

Instances details
IsString (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTypeProxy a => HasTypeProxy (SigningKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

Associated Types

data AsType (SigningKey a) #

SerialiseAsBech32 (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (SigningKey KesKey)

label :: Proxy (SigningKey KesKey) -> Text

FromCBOR (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (SigningKey VrfKey)

label :: Proxy (SigningKey VrfKey) -> Text

FromCBOR (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: SigningKey ByronKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey ByronKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey ByronKey] -> Size

ToCBOR (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: SigningKey ByronKeyLegacy -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey ByronKeyLegacy) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey ByronKeyLegacy] -> Size

ToCBOR (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: SigningKey KesKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey KesKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey KesKey] -> Size

ToCBOR (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: SigningKey VrfKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey VrfKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey VrfKey] -> Size

ToCBOR (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisDelegateExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateExtendedKey] -> Size

ToCBOR (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisDelegateKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateKey] -> Size

ToCBOR (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisExtendedKey] -> Size

ToCBOR (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisKey] -> Size

ToCBOR (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisUTxOKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisUTxOKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisUTxOKey] -> Size

ToCBOR (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey PaymentExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentExtendedKey] -> Size

ToCBOR (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey PaymentKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentKey] -> Size

ToCBOR (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey StakeExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakeExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakeExtendedKey] -> Size

ToCBOR (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey StakeKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakeKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakeKey] -> Size

ToCBOR (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey StakePoolKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakePoolKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakePoolKey] -> Size

newtype SigningKey ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype SigningKey ByronKey = ByronSigningKey SigningKey
newtype SigningKey ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype SigningKey KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype SigningKey VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype SigningKey GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType (SigningKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

data family VerificationKey keyrole #

Instances

Instances details
FromJSON (VerificationKey PaymentKey) Source # 
Instance details

Defined in Hydra.Cardano.Api.VerificationKey

Methods

parseJSON :: Value -> Parser (VerificationKey PaymentKey) #

parseJSONList :: Value -> Parser [VerificationKey PaymentKey] #

ToJSON (VerificationKey PaymentKey) Source # 
Instance details

Defined in Hydra.Cardano.Api.VerificationKey

IsString (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Show (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Show (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTypeProxy a => HasTypeProxy (VerificationKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

Associated Types

data AsType (VerificationKey a) #

SerialiseAsBech32 (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

FromCBOR (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

FromCBOR (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: VerificationKey ByronKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey ByronKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey ByronKey] -> Size

ToCBOR (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: VerificationKey ByronKeyLegacy -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey ByronKeyLegacy) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey ByronKeyLegacy] -> Size

ToCBOR (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: VerificationKey KesKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey KesKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey KesKey] -> Size

ToCBOR (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: VerificationKey VrfKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey VrfKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey VrfKey] -> Size

ToCBOR (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisDelegateKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisDelegateKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisDelegateKey] -> Size

ToCBOR (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisExtendedKey] -> Size

ToCBOR (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisKey] -> Size

ToCBOR (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisUTxOKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisUTxOKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisUTxOKey] -> Size

ToCBOR (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey PaymentExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey PaymentExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey PaymentExtendedKey] -> Size

ToCBOR (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey PaymentKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey PaymentKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey PaymentKey] -> Size

ToCBOR (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey StakeExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakeExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakeExtendedKey] -> Size

ToCBOR (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey StakeKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakeKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakeKey] -> Size

ToCBOR (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey StakePoolKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakePoolKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakePoolKey] -> Size

Eq (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Eq (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Eq (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Eq (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Eq (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype VerificationKey ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype VerificationKey KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype VerificationKey VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype VerificationKey GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType (VerificationKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

data GenesisDelegateExtendedKey #

Instances

Instances details
HasTypeProxy GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType GenesisDelegateExtendedKey #

Key GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole GenesisDelegateExtendedKey GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisDelegateExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateExtendedKey] -> Size

ToCBOR (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisDelegateExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateExtendedKey] -> Size

ToCBOR (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data GenesisDelegateKey #

Instances

Instances details
HasTypeProxy GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType GenesisDelegateKey #

Key GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastSigningKeyRole GenesisDelegateKey StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole GenesisDelegateExtendedKey GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole GenesisDelegateKey StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisDelegateKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateKey] -> Size

ToCBOR (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisDelegateKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateKey] -> Size

ToCBOR (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisDelegateKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisDelegateKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisDelegateKey] -> Size

Eq (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisDelegateKey = GenesisDelegateKeyHash (KeyHash 'GenesisDelegate StandardCrypto)
newtype SigningKey GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data GenesisExtendedKey #

Instances

Instances details
HasTypeProxy GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType GenesisExtendedKey #

Key GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole GenesisExtendedKey GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisExtendedKey] -> Size

ToCBOR (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisExtendedKey] -> Size

ToCBOR (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisExtendedKey] -> Size

Eq (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data GenesisKey #

Instances

Instances details
HasTypeProxy GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType GenesisKey #

Key GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole GenesisExtendedKey GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole GenesisKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash GenesisKey)

label :: Proxy (Hash GenesisKey) -> Text

FromCBOR (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisKey] -> Size

ToCBOR (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisKey] -> Size

ToCBOR (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisKey] -> Size

Eq (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisKey = GenesisKeyHash (KeyHash 'Genesis StandardCrypto)
newtype SigningKey GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data GenesisUTxOKey #

Instances

Instances details
HasTypeProxy GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType GenesisUTxOKey #

Key GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastSigningKeyRole GenesisUTxOKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole GenesisUTxOKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisUTxOKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisUTxOKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisUTxOKey] -> Size

ToCBOR (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisUTxOKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisUTxOKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisUTxOKey] -> Size

ToCBOR (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisUTxOKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisUTxOKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisUTxOKey] -> Size

Eq (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data PaymentExtendedKey #

Instances

Instances details
HasTypeProxy PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType PaymentExtendedKey #

Key PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole ByronKey PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Byron

CastVerificationKeyRole PaymentExtendedKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash PaymentExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash PaymentExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash PaymentExtendedKey] -> Size

ToCBOR (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey PaymentExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentExtendedKey] -> Size

ToCBOR (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey PaymentExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey PaymentExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey PaymentExtendedKey] -> Size

Eq (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data PaymentKey #

Instances

Instances details
HasTypeProxy PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType PaymentKey #

Key PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastSigningKeyRole GenesisUTxOKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole ByronKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Byron

CastVerificationKeyRole GenesisKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole GenesisUTxOKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole PaymentExtendedKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromJSON (VerificationKey PaymentKey) Source # 
Instance details

Defined in Hydra.Cardano.Api.VerificationKey

Methods

parseJSON :: Value -> Parser (VerificationKey PaymentKey) #

parseJSONList :: Value -> Parser [VerificationKey PaymentKey] #

ToJSON (VerificationKey PaymentKey) Source # 
Instance details

Defined in Hydra.Cardano.Api.VerificationKey

IsString (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash PaymentKey)

label :: Proxy (Hash PaymentKey) -> Text

FromCBOR (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash PaymentKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash PaymentKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash PaymentKey] -> Size

ToCBOR (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey PaymentKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentKey] -> Size

ToCBOR (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey PaymentKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey PaymentKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey PaymentKey] -> Size

Eq (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash PaymentKey = PaymentKeyHash (KeyHash 'Payment StandardCrypto)
newtype SigningKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data StakeExtendedKey #

Instances

Instances details
HasTypeProxy StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType StakeExtendedKey #

Key StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

CastVerificationKeyRole StakeExtendedKey StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakeExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeExtendedKey] -> Size

ToCBOR (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey StakeExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakeExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakeExtendedKey] -> Size

ToCBOR (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey StakeExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakeExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakeExtendedKey] -> Size

Eq (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype SigningKey StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data StakeKey #

Instances

Instances details
HasTypeProxy StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data AsType StakeKey #

Key StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey StakeKey #

data SigningKey StakeKey #

CastVerificationKeyRole StakeExtendedKey StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Show (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakeKey)

label :: Proxy (Hash StakeKey) -> Text

FromCBOR (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakeKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeKey] -> Size

ToCBOR (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey StakeKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakeKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakeKey] -> Size

ToCBOR (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey StakeKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakeKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakeKey] -> Size

Eq (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Eq (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Ord (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakeKey = StakeKeyHash (KeyHash 'Staking StandardCrypto)
newtype SigningKey StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype VerificationKey StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

toLedgerEvent :: ConvertLedgerEvent blk => WrapLedgerEvent blk -> Maybe LedgerEvent #

data Env #

Constructors

Env 

Fields

newtype LedgerState #

Constructors

LedgerState 

Fields

Bundled Patterns

pattern LedgerStateShelley :: () => LedgerState (ShelleyBlock protocol (ShelleyEra StandardCrypto)) -> LedgerState 
pattern LedgerStateMary :: () => LedgerState (ShelleyBlock protocol (MaryEra StandardCrypto)) -> LedgerState 
pattern LedgerStateConway :: () => LedgerState (ShelleyBlock protocol (ConwayEra StandardCrypto)) -> LedgerState 
pattern LedgerStateByron :: LedgerState ByronBlock -> LedgerState 
pattern LedgerStateBabbage :: () => LedgerState (ShelleyBlock protocol (BabbageEra StandardCrypto)) -> LedgerState 
pattern LedgerStateAlonzo :: () => LedgerState (ShelleyBlock protocol (AlonzoEra StandardCrypto)) -> LedgerState 
pattern LedgerStateAllegra :: () => LedgerState (ShelleyBlock protocol (AllegraEra StandardCrypto)) -> LedgerState 

data AnyConsensusMode where #

Constructors

AnyConsensusMode :: forall mode. ConsensusMode mode -> AnyConsensusMode 

Instances

Instances details
Show AnyConsensusMode 
Instance details

Defined in Cardano.Api.Modes

data CardanoMode #

Instances

Instances details
FromJSON (EraInMode AllegraEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode AllegraEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode AllegraEra CardanoMode] #

FromJSON (EraInMode AlonzoEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode AlonzoEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode AlonzoEra CardanoMode] #

FromJSON (EraInMode BabbageEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode BabbageEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode BabbageEra CardanoMode] #

FromJSON (EraInMode ByronEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ByronEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode ByronEra CardanoMode] #

FromJSON (EraInMode ConwayEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ConwayEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode ConwayEra CardanoMode] #

FromJSON (EraInMode MaryEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode MaryEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode MaryEra CardanoMode] #

FromJSON (EraInMode ShelleyEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ShelleyEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode ShelleyEra CardanoMode] #

type family ConsensusBlockForEra era where ... #

Equations

ConsensusBlockForEra ByronEra = ByronBlock 
ConsensusBlockForEra ShelleyEra = StandardShelleyBlock 
ConsensusBlockForEra AllegraEra = StandardAllegraBlock 
ConsensusBlockForEra MaryEra = StandardMaryBlock 
ConsensusBlockForEra AlonzoEra = StandardAlonzoBlock 
ConsensusBlockForEra BabbageEra = StandardBabbageBlock 
ConsensusBlockForEra ConwayEra = StandardConwayBlock 

type family ConsensusBlockForMode mode where ... #

Equations

ConsensusBlockForMode ByronMode = ByronBlockHFC 
ConsensusBlockForMode ShelleyMode = ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley 
ConsensusBlockForMode CardanoMode = CardanoBlock StandardCrypto 

data ConsensusMode mode where #

Instances

Instances details
Show (ConsensusMode mode) 
Instance details

Defined in Cardano.Api.Modes

data EraInMode era mode where #

Instances

Instances details
FromJSON (EraInMode AllegraEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode AllegraEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode AllegraEra CardanoMode] #

FromJSON (EraInMode AlonzoEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode AlonzoEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode AlonzoEra CardanoMode] #

FromJSON (EraInMode BabbageEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode BabbageEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode BabbageEra CardanoMode] #

FromJSON (EraInMode ByronEra ByronMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ByronEra ByronMode) #

parseJSONList :: Value -> Parser [EraInMode ByronEra ByronMode] #

FromJSON (EraInMode ByronEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ByronEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode ByronEra CardanoMode] #

FromJSON (EraInMode ConwayEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ConwayEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode ConwayEra CardanoMode] #

FromJSON (EraInMode MaryEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode MaryEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode MaryEra CardanoMode] #

FromJSON (EraInMode ShelleyEra CardanoMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ShelleyEra CardanoMode) #

parseJSONList :: Value -> Parser [EraInMode ShelleyEra CardanoMode] #

FromJSON (EraInMode ShelleyEra ShelleyMode) 
Instance details

Defined in Cardano.Api.Modes

Methods

parseJSON :: Value -> Parser (EraInMode ShelleyEra ShelleyMode) #

parseJSONList :: Value -> Parser [EraInMode ShelleyEra ShelleyMode] #

ToJSON (EraInMode era mode) 
Instance details

Defined in Cardano.Api.Modes

Methods

toJSON :: EraInMode era mode -> Value #

toEncoding :: EraInMode era mode -> Encoding #

toJSONList :: [EraInMode era mode] -> Value #

toEncodingList :: [EraInMode era mode] -> Encoding #

Show (EraInMode era mode) 
Instance details

Defined in Cardano.Api.Modes

Methods

showsPrec :: Int -> EraInMode era mode -> ShowS Source #

show :: EraInMode era mode -> String Source #

showList :: [EraInMode era mode] -> ShowS Source #

Eq (EraInMode era mode) 
Instance details

Defined in Cardano.Api.Modes

Methods

(==) :: EraInMode era mode -> EraInMode era mode -> Bool Source #

(/=) :: EraInMode era mode -> EraInMode era mode -> Bool Source #

data NetworkId #

Constructors

Mainnet 
Testnet !NetworkMagic 

Instances

Instances details
FromJSON NetworkId Source # 
Instance details

Defined in Hydra.Cardano.Api.NetworkId

Methods

parseJSON :: Value -> Parser NetworkId #

parseJSONList :: Value -> Parser [NetworkId] #

ToJSON NetworkId Source # 
Instance details

Defined in Hydra.Cardano.Api.NetworkId

Methods

toJSON :: NetworkId -> Value #

toEncoding :: NetworkId -> Encoding #

toJSONList :: [NetworkId] -> Value #

toEncodingList :: [NetworkId] -> Encoding #

Show NetworkId 
Instance details

Defined in Cardano.Api.NetworkId

Eq NetworkId 
Instance details

Defined in Cardano.Api.NetworkId

data OperationalCertificate #

Instances

Instances details
Show OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTypeProxy OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

Associated Types

data AsType OperationalCertificate #

SerialiseAsCBOR OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTextEnvelope OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

FromCBOR OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

ToCBOR OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

Methods

toCBOR :: OperationalCertificate -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy OperationalCertificate -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [OperationalCertificate] -> Size

Eq OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

data OperationalCertificateIssueCounter #

Instances

Instances details
Show OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTypeProxy OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

SerialiseAsCBOR OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTextEnvelope OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

FromCBOR OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

ToCBOR OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

Eq OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

data BlockType blk where #

Constructors

ByronBlockType :: BlockType (HardForkBlock '[ByronBlock]) 
ShelleyBlockType :: BlockType (HardForkBlock '[ShelleyBlock (TPraos StandardCrypto) StandardShelley]) 
CardanoBlockType :: BlockType (HardForkBlock (CardanoEras StandardCrypto)) 

Instances

Instances details
Show (BlockType blk) 
Instance details

Defined in Cardano.Api.Protocol

Eq (BlockType blk) 
Instance details

Defined in Cardano.Api.Protocol

Methods

(==) :: BlockType blk -> BlockType blk -> Bool Source #

(/=) :: BlockType blk -> BlockType blk -> Bool Source #

class (RunNode blk, IOLike m) => Protocol (m :: Type -> Type) blk where #

Associated Types

data ProtocolInfoArgs (m :: Type -> Type) blk #

Methods

protocolInfo :: ProtocolInfoArgs m blk -> ProtocolInfo m blk #

Instances

Instances details
IOLike m => Protocol m ByronBlockHFC 
Instance details

Defined in Cardano.Api.Protocol

Associated Types

data ProtocolInfoArgs m ByronBlockHFC #

Methods

protocolInfo :: ProtocolInfoArgs m ByronBlockHFC -> ProtocolInfo m ByronBlockHFC #

(CardanoHardForkConstraints StandardCrypto, IOLike m) => Protocol m (CardanoBlock StandardCrypto) 
Instance details

Defined in Cardano.Api.Protocol

Associated Types

data ProtocolInfoArgs m (CardanoBlock StandardCrypto) #

Methods

protocolInfo :: ProtocolInfoArgs m (CardanoBlock StandardCrypto) -> ProtocolInfo m (CardanoBlock StandardCrypto) #

(IOLike m, LedgerSupportsProtocol (ShelleyBlock (TPraos StandardCrypto) (ShelleyEra StandardCrypto))) => Protocol m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) 
Instance details

Defined in Cardano.Api.Protocol

Associated Types

data ProtocolInfoArgs m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) #

Methods

protocolInfo :: ProtocolInfoArgs m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) -> ProtocolInfo m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) #

data family ProtocolInfoArgs (m :: Type -> Type) blk #

Instances

Instances details
data ProtocolInfoArgs m ByronBlockHFC 
Instance details

Defined in Cardano.Api.Protocol

data ProtocolInfoArgs m ByronBlockHFC = ProtocolInfoArgsByron ProtocolParamsByron
data ProtocolInfoArgs m (CardanoBlock StandardCrypto) 
Instance details

Defined in Cardano.Api.Protocol

data ProtocolInfoArgs m (CardanoBlock StandardCrypto) = ProtocolInfoArgsCardano ProtocolParamsByron (ProtocolParamsShelleyBased StandardShelley) (ProtocolParamsShelley StandardCrypto) (ProtocolParamsAllegra StandardCrypto) (ProtocolParamsMary StandardCrypto) (ProtocolParamsAlonzo StandardCrypto) (ProtocolParamsBabbage StandardCrypto) (ProtocolParamsConway StandardCrypto) (ProtocolTransitionParamsShelleyBased StandardShelley) (ProtocolTransitionParamsShelleyBased StandardAllegra) (ProtocolTransitionParamsShelleyBased StandardMary) (ProtocolTransitionParamsShelleyBased StandardAlonzo) (ProtocolTransitionParamsShelleyBased StandardBabbage) (ProtocolTransitionParamsShelleyBased StandardConway)
data ProtocolInfoArgs m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) 
Instance details

Defined in Cardano.Api.Protocol

data ProtocolInfoArgs m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) = ProtocolInfoArgsShelley (ProtocolParamsShelleyBased StandardShelley) (ProtocolParamsShelley StandardCrypto)

newtype CostModel #

Constructors

CostModel (Map Text Integer) 

Instances

Instances details
FromJSON CostModel 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON :: Value -> Parser CostModel #

parseJSONList :: Value -> Parser [CostModel] #

ToJSON CostModel 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSON :: CostModel -> Value #

toEncoding :: CostModel -> Encoding #

toJSONList :: [CostModel] -> Value #

toEncodingList :: [CostModel] -> Encoding #

Show CostModel 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromCBOR CostModel 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

fromCBOR :: Decoder s CostModel

label :: Proxy CostModel -> Text

ToCBOR CostModel 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBOR :: CostModel -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy CostModel -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CostModel] -> Size

Eq CostModel 
Instance details

Defined in Cardano.Api.ProtocolParameters

data ExecutionUnitPrices #

data PraosNonce #

Instances

Instances details
FromJSON PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON :: Value -> Parser PraosNonce #

parseJSONList :: Value -> Parser [PraosNonce] #

ToJSON PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSON :: PraosNonce -> Value #

toEncoding :: PraosNonce -> Encoding #

toJSONList :: [PraosNonce] -> Value #

toEncodingList :: [PraosNonce] -> Encoding #

IsString PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Generic PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

type Rep PraosNonce :: Type -> Type Source #

Show PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

HasTypeProxy PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

data AsType PraosNonce #

SerialiseAsRawBytes PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromCBOR PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

fromCBOR :: Decoder s PraosNonce

label :: Proxy PraosNonce -> Text

ToCBOR PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBOR :: PraosNonce -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy PraosNonce -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PraosNonce] -> Size

Eq PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Ord PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

type Rep PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

type Rep PraosNonce = D1 ('MetaData "PraosNonce" "Cardano.Api.ProtocolParameters" "cardano-api-1.36.0-8mOxmJ0cnFP2t1gQlRfbii" 'True) (C1 ('MetaCons "PraosNonce" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Hash StandardCrypto ByteString))))
data AsType PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

data ProtocolParametersUpdate #

Instances

Instances details
Monoid ProtocolParametersUpdate 
Instance details

Defined in Cardano.Api.ProtocolParameters

Semigroup ProtocolParametersUpdate 
Instance details

Defined in Cardano.Api.ProtocolParameters

Show ProtocolParametersUpdate 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromCBOR ProtocolParametersUpdate 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToCBOR ProtocolParametersUpdate 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBOR :: ProtocolParametersUpdate -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ProtocolParametersUpdate -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ProtocolParametersUpdate] -> Size

Eq ProtocolParametersUpdate 
Instance details

Defined in Cardano.Api.ProtocolParameters

data UpdateProposal #

Instances

Instances details
Show UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

HasTypeProxy UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

data AsType UpdateProposal #

SerialiseAsCBOR UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

HasTextEnvelope UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromCBOR UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToCBOR UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBOR :: UpdateProposal -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy UpdateProposal -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [UpdateProposal] -> Size

Eq UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

data EraHistory mode where #

Constructors

EraHistory :: forall mode (xs :: [Type]). ConsensusBlockForMode mode ~ HardForkBlock xs => ConsensusMode mode -> Interpreter xs -> EraHistory mode 

newtype LedgerEpochInfo #

Constructors

LedgerEpochInfo 

Fields

data QueryInEra era result where #

Constructors

QueryByronUpdateState :: QueryInEra ByronEra ByronUpdateState 
QueryInShelleyBasedEra :: forall era result. ShelleyBasedEra era -> QueryInShelleyBasedEra era result -> QueryInEra era result 

Instances

Instances details
Show (QueryInEra era result) 
Instance details

Defined in Cardano.Api.Query

Methods

showsPrec :: Int -> QueryInEra era result -> ShowS Source #

show :: QueryInEra era result -> String Source #

showList :: [QueryInEra era result] -> ShowS Source #

NodeToClientVersionOf (QueryInEra era result) 
Instance details

Defined in Cardano.Api.Query

data QueryInMode mode result where #

Constructors

QueryCurrentEra :: forall mode. ConsensusModeIsMultiEra mode -> QueryInMode mode AnyCardanoEra 
QueryInEra :: forall era mode result1. EraInMode era mode -> QueryInEra era result1 -> QueryInMode mode (Either EraMismatch result1) 
QueryEraHistory :: forall mode. ConsensusModeIsMultiEra mode -> QueryInMode mode (EraHistory mode) 
QuerySystemStart :: forall mode. QueryInMode mode SystemStart 
QueryChainBlockNo :: forall mode. QueryInMode mode (WithOrigin BlockNo) 
QueryChainPoint :: forall mode. ConsensusMode mode -> QueryInMode mode ChainPoint 

Instances

Instances details
Show (QueryInMode mode result) 
Instance details

Defined in Cardano.Api.Query

Methods

showsPrec :: Int -> QueryInMode mode result -> ShowS Source #

show :: QueryInMode mode result -> String Source #

showList :: [QueryInMode mode result] -> ShowS Source #

NodeToClientVersionOf (QueryInMode mode result) 
Instance details

Defined in Cardano.Api.Query

data QueryInShelleyBasedEra era result where #

Constructors

QueryEpoch :: forall era. QueryInShelleyBasedEra era EpochNo 
QueryGenesisParameters :: forall era. QueryInShelleyBasedEra era GenesisParameters 
QueryProtocolParameters :: forall era. QueryInShelleyBasedEra era ProtocolParameters 
QueryProtocolParametersUpdate :: forall era. QueryInShelleyBasedEra era (Map (Hash GenesisKey) ProtocolParametersUpdate) 
QueryStakeDistribution :: forall era. QueryInShelleyBasedEra era (Map (Hash StakePoolKey) Rational) 
QueryUTxO :: forall era. QueryUTxOFilter -> QueryInShelleyBasedEra era (UTxO era) 
QueryStakeAddresses :: forall era. Set StakeCredential -> NetworkId -> QueryInShelleyBasedEra era (Map StakeAddress Lovelace, Map StakeAddress PoolId) 
QueryStakePools :: forall era. QueryInShelleyBasedEra era (Set PoolId) 
QueryStakePoolParameters :: forall era. Set PoolId -> QueryInShelleyBasedEra era (Map PoolId StakePoolParameters) 
QueryDebugLedgerState :: forall era. QueryInShelleyBasedEra era (SerialisedDebugLedgerState era) 
QueryProtocolState :: forall era. QueryInShelleyBasedEra era (ProtocolState era) 
QueryCurrentEpochState :: forall era. QueryInShelleyBasedEra era (SerialisedCurrentEpochState era) 
QueryPoolState :: forall era. Maybe (Set PoolId) -> QueryInShelleyBasedEra era (SerialisedPoolState era) 
QueryPoolDistribution :: forall era. Maybe (Set PoolId) -> QueryInShelleyBasedEra era (SerialisedPoolDistribution era) 
QueryStakeSnapshot :: forall era. Maybe (Set PoolId) -> QueryInShelleyBasedEra era (SerialisedStakeSnapshots era) 

Instances

Instances details
Show (QueryInShelleyBasedEra era result) 
Instance details

Defined in Cardano.Api.Query

NodeToClientVersionOf (QueryInShelleyBasedEra era result) 
Instance details

Defined in Cardano.Api.Query

newtype SlotsInEpoch #

Constructors

SlotsInEpoch Word64 

data AnyPlutusScriptVersion where #

Instances

Instances details
FromJSON AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser AnyPlutusScriptVersion #

parseJSONList :: Value -> Parser [AnyPlutusScriptVersion] #

FromJSONKey AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

Methods

fromJSONKey :: FromJSONKeyFunction AnyPlutusScriptVersion

fromJSONKeyList :: FromJSONKeyFunction [AnyPlutusScriptVersion]

ToJSON AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

ToJSONKey AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONKey :: ToJSONKeyFunction AnyPlutusScriptVersion

toJSONKeyList :: ToJSONKeyFunction [AnyPlutusScriptVersion]

Bounded AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

Enum AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

Show AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

FromCBOR AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

ToCBOR AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

Methods

toCBOR :: AnyPlutusScriptVersion -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy AnyPlutusScriptVersion -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AnyPlutusScriptVersion] -> Size

Eq AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

Ord AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

data AnyScriptLanguage where #

Constructors

AnyScriptLanguage :: forall lang. ScriptLanguage lang -> AnyScriptLanguage 

Instances

Instances details
Bounded AnyScriptLanguage 
Instance details

Defined in Cardano.Api.Script

Enum AnyScriptLanguage 
Instance details

Defined in Cardano.Api.Script

Show AnyScriptLanguage 
Instance details

Defined in Cardano.Api.Script

Eq AnyScriptLanguage 
Instance details

Defined in Cardano.Api.Script

Ord AnyScriptLanguage 
Instance details

Defined in Cardano.Api.Script

data ExecutionUnits #

Instances

Instances details
FromJSON ExecutionUnits 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser ExecutionUnits #

parseJSONList :: Value -> Parser [ExecutionUnits] #

ToJSON ExecutionUnits 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ExecutionUnits -> Value #

toEncoding :: ExecutionUnits -> Encoding #

toJSONList :: [ExecutionUnits] -> Value #

toEncodingList :: [ExecutionUnits] -> Encoding #

Show ExecutionUnits 
Instance details

Defined in Cardano.Api.Script

FromCBOR ExecutionUnits 
Instance details

Defined in Cardano.Api.Script

ToCBOR ExecutionUnits 
Instance details

Defined in Cardano.Api.Script

Methods

toCBOR :: ExecutionUnits -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ExecutionUnits -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ExecutionUnits] -> Size

Eq ExecutionUnits 
Instance details

Defined in Cardano.Api.Script

data KeyWitnessInCtx witctx where #

Instances

Instances details
Show (KeyWitnessInCtx witctx) 
Instance details

Defined in Cardano.Api.Script

Eq (KeyWitnessInCtx witctx) 
Instance details

Defined in Cardano.Api.Script

Methods

(==) :: KeyWitnessInCtx witctx -> KeyWitnessInCtx witctx -> Bool Source #

(/=) :: KeyWitnessInCtx witctx -> KeyWitnessInCtx witctx -> Bool Source #

data ScriptDatum witctx where #

Instances

Instances details
Show (ScriptDatum witctx) 
Instance details

Defined in Cardano.Api.Script

Methods

showsPrec :: Int -> ScriptDatum witctx -> ShowS Source #

show :: ScriptDatum witctx -> String Source #

showList :: [ScriptDatum witctx] -> ShowS Source #

Eq (ScriptDatum witctx) 
Instance details

Defined in Cardano.Api.Script

Methods

(==) :: ScriptDatum witctx -> ScriptDatum witctx -> Bool Source #

(/=) :: ScriptDatum witctx -> ScriptDatum witctx -> Bool Source #

data ScriptHash #

Instances

Instances details
FromJSON ScriptHash 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser ScriptHash #

parseJSONList :: Value -> Parser [ScriptHash] #

ToJSON ScriptHash 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ScriptHash -> Value #

toEncoding :: ScriptHash -> Encoding #

toJSONList :: [ScriptHash] -> Value #

toEncodingList :: [ScriptHash] -> Encoding #

IsString ScriptHash 
Instance details

Defined in Cardano.Api.Script

Show ScriptHash 
Instance details

Defined in Cardano.Api.Script

HasTypeProxy ScriptHash 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType ScriptHash #

SerialiseAsRawBytes ScriptHash 
Instance details

Defined in Cardano.Api.Script

Eq ScriptHash 
Instance details

Defined in Cardano.Api.Script

Ord ScriptHash 
Instance details

Defined in Cardano.Api.Script

data AsType ScriptHash 
Instance details

Defined in Cardano.Api.Script

data ScriptInAnyLang where #

Constructors

ScriptInAnyLang :: forall lang. ScriptLanguage lang -> Script lang -> ScriptInAnyLang 

Instances

Instances details
FromJSON ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON :: Value -> Parser ScriptInAnyLang #

parseJSONList :: Value -> Parser [ScriptInAnyLang] #

ToJSON ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ScriptInAnyLang -> Value #

toEncoding :: ScriptInAnyLang -> Encoding #

toJSONList :: [ScriptInAnyLang] -> Value #

toEncodingList :: [ScriptInAnyLang] -> Encoding #

Show ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

HasTypeProxy ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType ScriptInAnyLang #

Eq ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

data AsType ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

data ScriptLanguageInEra lang era where #

Instances

Instances details
ToJSON (ScriptLanguageInEra lang era) 
Instance details

Defined in Cardano.Api.Script

Methods

toJSON :: ScriptLanguageInEra lang era -> Value #

toEncoding :: ScriptLanguageInEra lang era -> Encoding #

toJSONList :: [ScriptLanguageInEra lang era] -> Value #

toEncodingList :: [ScriptLanguageInEra lang era] -> Encoding #

Show (ScriptLanguageInEra lang era) 
Instance details

Defined in Cardano.Api.Script

Eq (ScriptLanguageInEra lang era) 
Instance details

Defined in Cardano.Api.Script

Methods

(==) :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> Bool Source #

(/=) :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> Bool Source #

data SimpleScript' #

Instances

Instances details
HasTypeProxy SimpleScript' 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType SimpleScript' #

IsScriptLanguage SimpleScript' 
Instance details

Defined in Cardano.Api.Script

data AsType SimpleScript' 
Instance details

Defined in Cardano.Api.Script

data WitCtxMint #

Instances

Instances details
IsScriptWitnessInCtx WitCtxMint 
Instance details

Defined in Cardano.Api.Script

data WitCtxStake #

Instances

Instances details
IsScriptWitnessInCtx WitCtxStake 
Instance details

Defined in Cardano.Api.Script

data WitCtxTxIn #

Instances

Instances details
IsScriptWitnessInCtx WitCtxTxIn 
Instance details

Defined in Cardano.Api.Script

data HashableScriptData #

Instances

Instances details
Arbitrary HashableScriptData Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptData

FromJSON HashableScriptData Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptData

Methods

parseJSON :: Value -> Parser HashableScriptData #

parseJSONList :: Value -> Parser [HashableScriptData] #

ToJSON HashableScriptData Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptData

Show HashableScriptData 
Instance details

Defined in Cardano.Api.ScriptData

HasTypeProxy HashableScriptData 
Instance details

Defined in Cardano.Api.ScriptData

Associated Types

data AsType HashableScriptData #

SerialiseAsCBOR HashableScriptData 
Instance details

Defined in Cardano.Api.ScriptData

Eq HashableScriptData 
Instance details

Defined in Cardano.Api.ScriptData

data AsType HashableScriptData 
Instance details

Defined in Cardano.Api.ScriptData

data ScriptData #

Instances

Instances details
Arbitrary ScriptData Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptData

FromJSON ScriptData Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptData

Methods

parseJSON :: Value -> Parser ScriptData #

parseJSONList :: Value -> Parser [ScriptData] #

ToJSON ScriptData Source # 
Instance details

Defined in Hydra.Cardano.Api.ScriptData

Methods

toJSON :: ScriptData -> Value #

toEncoding :: ScriptData -> Encoding #

toJSONList :: [ScriptData] -> Value #

toEncodingList :: [ScriptData] -> Encoding #

Show ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

HasTypeProxy ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

Associated Types

data AsType ScriptData #

SerialiseAsCBOR ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

FromCBOR ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

Methods

fromCBOR :: Decoder s ScriptData

label :: Proxy ScriptData -> Text

ToCBOR ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toCBOR :: ScriptData -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ScriptData -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ScriptData] -> Size

Eq ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

Ord ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

FromJSON (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

parseJSON :: Value -> Parser (Hash ScriptData) #

parseJSONList :: Value -> Parser [Hash ScriptData] #

FromJSONKey (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

fromJSONKey :: FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData]

ToJSON (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSON :: Hash ScriptData -> Value #

toEncoding :: Hash ScriptData -> Encoding #

toJSONList :: [Hash ScriptData] -> Value #

toEncodingList :: [Hash ScriptData] -> Encoding #

ToJSONKey (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSONKey :: ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData]

IsString (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Show (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

SerialiseAsRawBytes (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Eq (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Ord (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

data AsType ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

newtype Hash ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

class (HasTypeProxy a, SerialiseAsRawBytes a) => SerialiseAsBech32 a #

Minimal complete definition

bech32PrefixFor, bech32PrefixesPermitted

Instances

Instances details
SerialiseAsBech32 StakeAddress 
Instance details

Defined in Cardano.Api.Address

SerialiseAsBech32 (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

SerialiseAsBech32 (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

class HasTypeProxy a => SerialiseAsCBOR a where #

Minimal complete definition

Nothing

Methods

serialiseToCBOR :: a -> ByteString #

deserialiseFromCBOR :: AsType a -> ByteString -> Either DecoderError a #

Instances

Instances details
SerialiseAsCBOR Certificate 
Instance details

Defined in Cardano.Api.Certificate

SerialiseAsCBOR OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

SerialiseAsCBOR OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

SerialiseAsCBOR UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

SerialiseAsCBOR HashableScriptData 
Instance details

Defined in Cardano.Api.ScriptData

SerialiseAsCBOR ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

SerialiseAsCBOR TxMetadata 
Instance details

Defined in Cardano.Api.TxMetadata

SerialiseAsCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsCBOR (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsCBOR (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTypeProxy lang => SerialiseAsCBOR (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

IsScriptLanguage lang => SerialiseAsCBOR (Script lang) 
Instance details

Defined in Cardano.Api.Script

Methods

serialiseToCBOR :: Script lang -> ByteString #

deserialiseFromCBOR :: AsType (Script lang) -> ByteString -> Either DecoderError (Script lang) #

IsCardanoEra era => SerialiseAsCBOR (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx

IsCardanoEra era => SerialiseAsCBOR (Tx era) 
Instance details

Defined in Cardano.Api.Tx

Methods

serialiseToCBOR :: Tx era -> ByteString #

deserialiseFromCBOR :: AsType (Tx era) -> ByteString -> Either DecoderError (Tx era) #

IsCardanoEra era => SerialiseAsCBOR (TxBody era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

serialiseToCBOR :: TxBody era -> ByteString #

deserialiseFromCBOR :: AsType (TxBody era) -> ByteString -> Either DecoderError (TxBody era) #

class (HasTypeProxy a, Typeable a) => SerialiseAsRawBytes a where #

Methods

serialiseToRawBytes :: a -> ByteString #

deserialiseFromRawBytes :: AsType a -> ByteString -> Either SerialiseAsRawBytesError a #

Instances

Instances details
SerialiseAsRawBytes AddressAny 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes StakeAddress 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

SerialiseAsRawBytes ScriptHash 
Instance details

Defined in Cardano.Api.Script

SerialiseAsRawBytes ByronUpdateProposal 
Instance details

Defined in Cardano.Api.SpecialByron

Methods

serialiseToRawBytes :: ByronUpdateProposal -> ByteString #

deserialiseFromRawBytes :: AsType ByronUpdateProposal -> ByteString -> Either SerialiseAsRawBytesError ByronUpdateProposal #

SerialiseAsRawBytes ByronVote 
Instance details

Defined in Cardano.Api.SpecialByron

Methods

serialiseToRawBytes :: ByronVote -> ByteString #

deserialiseFromRawBytes :: AsType ByronVote -> ByteString -> Either SerialiseAsRawBytesError ByronVote #

SerialiseAsRawBytes TxId 
Instance details

Defined in Cardano.Api.TxIn

SerialiseAsRawBytes AssetName 
Instance details

Defined in Cardano.Api.Value

SerialiseAsRawBytes PolicyId 
Instance details

Defined in Cardano.Api.Value

SerialiseAsRawBytes (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

IsCardanoEra era => SerialiseAsRawBytes (AddressInEra era) 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

SerialiseAsRawBytes (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

SerialiseAsRawBytes (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

SerialiseAsRawBytes (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

SerialiseAsRawBytes (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsRawBytes (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTypeProxy lang => SerialiseAsRawBytes (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

Methods

serialiseToRawBytes :: PlutusScript lang -> ByteString #

deserialiseFromRawBytes :: AsType (PlutusScript lang) -> ByteString -> Either SerialiseAsRawBytesError (PlutusScript lang) #

class SerialiseAsCBOR a => HasTextEnvelope a where #

Minimal complete definition

textEnvelopeType

Instances

Instances details
HasTextEnvelope Certificate 
Instance details

Defined in Cardano.Api.Certificate

HasTextEnvelope OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTextEnvelope OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTextEnvelope UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

HasTextEnvelope (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

HasTextEnvelope (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

HasTextEnvelope (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsPlutusScriptLanguage lang => HasTextEnvelope (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

IsScriptLanguage lang => HasTextEnvelope (Script lang) 
Instance details

Defined in Cardano.Api.Script

IsCardanoEra era => HasTextEnvelope (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx

IsCardanoEra era => HasTextEnvelope (Tx era) 
Instance details

Defined in Cardano.Api.Tx

IsCardanoEra era => HasTextEnvelope (TxBody era) 
Instance details

Defined in Cardano.Api.TxBody

data StakePoolMetadata #

Instances

Instances details
FromJSON StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Methods

parseJSON :: Value -> Parser StakePoolMetadata #

parseJSONList :: Value -> Parser [StakePoolMetadata] #

Show StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

HasTypeProxy StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Associated Types

data AsType StakePoolMetadata #

Eq StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Show (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

SerialiseAsRawBytes (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Eq (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

data AsType StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

newtype Hash StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

data AnyScriptWitness era where #

Constructors

AnyScriptWitness :: forall witctx era. ScriptWitness witctx era -> AnyScriptWitness era 

data BuildTx #

data BuildTxWith build a where #

Constructors

ViewTx :: forall a. BuildTxWith ViewTx a 
BuildTxWith :: forall a. a -> BuildTxWith BuildTx a 

Instances

Instances details
Functor (BuildTxWith build) 
Instance details

Defined in Cardano.Api.TxBody

Methods

fmap :: (a -> b) -> BuildTxWith build a -> BuildTxWith build b Source #

(<$) :: a -> BuildTxWith build b -> BuildTxWith build a Source #

Show a => Show (BuildTxWith build a) 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrec :: Int -> BuildTxWith build a -> ShowS Source #

show :: BuildTxWith build a -> String Source #

showList :: [BuildTxWith build a] -> ShowS Source #

Eq a => Eq (BuildTxWith build a) 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==) :: BuildTxWith build a -> BuildTxWith build a -> Bool Source #

(/=) :: BuildTxWith build a -> BuildTxWith build a -> Bool Source #

data CtxTx #

Instances

Instances details
IsShelleyBasedEra era => FromJSON (TxOut CtxTx era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

parseJSON :: Value -> Parser (TxOut CtxTx era) #

parseJSONList :: Value -> Parser [TxOut CtxTx era] #

data CtxUTxO #

Instances

Instances details
IsShelleyBasedEra era => FromJSON (TxOut CtxUTxO era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

parseJSON :: Value -> Parser (TxOut CtxUTxO era) #

parseJSONList :: Value -> Parser [TxOut CtxUTxO era] #

data ScriptValidity #

Constructors

ScriptInvalid 
ScriptValid 

Instances

Instances details
Show ScriptValidity 
Instance details

Defined in Cardano.Api.TxBody

FromCBOR ScriptValidity 
Instance details

Defined in Cardano.Api.TxBody

ToCBOR ScriptValidity 
Instance details

Defined in Cardano.Api.TxBody

Methods

toCBOR :: ScriptValidity -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ScriptValidity -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ScriptValidity] -> Size

Eq ScriptValidity 
Instance details

Defined in Cardano.Api.TxBody

data TxCertificates build era where #

Constructors

TxCertificatesNone :: forall build era. TxCertificates build era 
TxCertificates :: forall era build. CertificatesSupportedInEra era -> [Certificate] -> BuildTxWith build (Map StakeCredential (Witness WitCtxStake era)) -> TxCertificates build era 

Instances

Instances details
Show (TxCertificates build era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrec :: Int -> TxCertificates build era -> ShowS Source #

show :: TxCertificates build era -> String Source #

showList :: [TxCertificates build era] -> ShowS Source #

Eq (TxCertificates build era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==) :: TxCertificates build era -> TxCertificates build era -> Bool Source #

(/=) :: TxCertificates build era -> TxCertificates build era -> Bool Source #

data TxOutValue era where #

Constructors

TxOutAdaOnly :: forall era. OnlyAdaSupportedInEra era -> Lovelace -> TxOutValue era 
TxOutValue :: forall era. MultiAssetSupportedInEra era -> Value -> TxOutValue era 

Instances

Instances details
EraCast TxOutValue 
Instance details

Defined in Cardano.Api.TxBody

Methods

eraCast :: (IsCardanoEra fromEra, IsCardanoEra toEra) => CardanoEra toEra -> TxOutValue fromEra -> Either EraCastError (TxOutValue toEra) #

IsCardanoEra era => FromJSON (TxOutValue era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

parseJSON :: Value -> Parser (TxOutValue era) #

parseJSONList :: Value -> Parser [TxOutValue era] #

ToJSON (TxOutValue era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSON :: TxOutValue era -> Value #

toEncoding :: TxOutValue era -> Encoding #

toJSONList :: [TxOutValue era] -> Value #

toEncodingList :: [TxOutValue era] -> Encoding #

Generic (TxOutValue era) 
Instance details

Defined in Cardano.Api.TxBody

Associated Types

type Rep (TxOutValue era) :: Type -> Type Source #

Methods

from :: TxOutValue era -> Rep (TxOutValue era) x Source #

to :: Rep (TxOutValue era) x -> TxOutValue era Source #

Show (TxOutValue era) 
Instance details

Defined in Cardano.Api.TxBody

Eq (TxOutValue era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==) :: TxOutValue era -> TxOutValue era -> Bool Source #

(/=) :: TxOutValue era -> TxOutValue era -> Bool Source #

type Rep (TxOutValue era) 
Instance details

Defined in Cardano.Api.TxBody

data TxReturnCollateral ctx era where #

Constructors

TxReturnCollateralNone :: forall ctx era. TxReturnCollateral ctx era 
TxReturnCollateral :: forall era ctx. TxTotalAndReturnCollateralSupportedInEra era -> TxOut ctx era -> TxReturnCollateral ctx era 

Instances

Instances details
Show (TxReturnCollateral ctx era) 
Instance details

Defined in Cardano.Api.TxBody

Eq (TxReturnCollateral ctx era) 
Instance details

Defined in Cardano.Api.TxBody

data TxTotalCollateral era where #

Instances

Instances details
Show (TxTotalCollateral era) 
Instance details

Defined in Cardano.Api.TxBody

Eq (TxTotalCollateral era) 
Instance details

Defined in Cardano.Api.TxBody

data TxUpdateProposal era where #

Instances

Instances details
Show (TxUpdateProposal era) 
Instance details

Defined in Cardano.Api.TxBody

Eq (TxUpdateProposal era) 
Instance details

Defined in Cardano.Api.TxBody

data TxWithdrawals build era where #

Constructors

TxWithdrawalsNone :: forall build era. TxWithdrawals build era 
TxWithdrawals :: forall era build. WithdrawalsSupportedInEra era -> [(StakeAddress, Lovelace, BuildTxWith build (Witness WitCtxStake era))] -> TxWithdrawals build era 

Instances

Instances details
Show (TxWithdrawals build era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrec :: Int -> TxWithdrawals build era -> ShowS Source #

show :: TxWithdrawals build era -> String Source #

showList :: [TxWithdrawals build era] -> ShowS Source #

Eq (TxWithdrawals build era) 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==) :: TxWithdrawals build era -> TxWithdrawals build era -> Bool Source #

(/=) :: TxWithdrawals build era -> TxWithdrawals build era -> Bool Source #

data ViewTx #

newtype TxId #

Constructors

TxId (Hash StandardCrypto EraIndependentTxBody) 

Instances

Instances details
FromJSON TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxId #

parseJSONList :: Value -> Parser [TxId] #

FromJSONKey TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

fromJSONKey :: FromJSONKeyFunction TxId

fromJSONKeyList :: FromJSONKeyFunction [TxId]

ToJSON TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxId -> Value #

toEncoding :: TxId -> Encoding #

toJSONList :: [TxId] -> Value #

toEncodingList :: [TxId] -> Encoding #

ToJSONKey TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSONKey :: ToJSONKeyFunction TxId

toJSONKeyList :: ToJSONKeyFunction [TxId]

IsString TxId 
Instance details

Defined in Cardano.Api.TxIn

Show TxId 
Instance details

Defined in Cardano.Api.TxIn

HasTypeProxy TxId 
Instance details

Defined in Cardano.Api.TxIn

Associated Types

data AsType TxId #

SerialiseAsRawBytes TxId 
Instance details

Defined in Cardano.Api.TxIn

FromCBOR TxId Source # 
Instance details

Defined in Hydra.Cardano.Api.TxId

Methods

fromCBOR :: Decoder s TxId

label :: Proxy TxId -> Text

ToCBOR TxId Source # 
Instance details

Defined in Hydra.Cardano.Api.TxId

Methods

toCBOR :: TxId -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxId -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxId] -> Size

Eq TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

(==) :: TxId -> TxId -> Bool Source #

(/=) :: TxId -> TxId -> Bool Source #

Ord TxId 
Instance details

Defined in Cardano.Api.TxIn

data AsType TxId 
Instance details

Defined in Cardano.Api.TxIn

data TxIn #

Constructors

TxIn TxId TxIx 

Instances

Instances details
Arbitrary TxIn Source # 
Instance details

Defined in Hydra.Cardano.Api.TxIn

Methods

arbitrary :: Gen TxIn #

shrink :: TxIn -> [TxIn] #

FromJSON TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxIn #

parseJSONList :: Value -> Parser [TxIn] #

FromJSONKey TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

fromJSONKey :: FromJSONKeyFunction TxIn

fromJSONKeyList :: FromJSONKeyFunction [TxIn]

ToJSON TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxIn -> Value #

toEncoding :: TxIn -> Encoding #

toJSONList :: [TxIn] -> Value #

toEncodingList :: [TxIn] -> Encoding #

ToJSONKey TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSONKey :: ToJSONKeyFunction TxIn

toJSONKeyList :: ToJSONKeyFunction [TxIn]

Show TxIn 
Instance details

Defined in Cardano.Api.TxIn

Eq TxIn 
Instance details

Defined in Cardano.Api.TxIn

Methods

(==) :: TxIn -> TxIn -> Bool Source #

(/=) :: TxIn -> TxIn -> Bool Source #

Ord TxIn 
Instance details

Defined in Cardano.Api.TxIn

newtype TxIx #

Constructors

TxIx Word 

Instances

Instances details
FromJSON TxIx 
Instance details

Defined in Cardano.Api.TxIn

Methods

parseJSON :: Value -> Parser TxIx #

parseJSONList :: Value -> Parser [TxIx] #

ToJSON TxIx 
Instance details

Defined in Cardano.Api.TxIn

Methods

toJSON :: TxIx -> Value #

toEncoding :: TxIx -> Encoding #

toJSONList :: [TxIx] -> Value #

toEncodingList :: [TxIx] -> Encoding #

Enum TxIx 
Instance details

Defined in Cardano.Api.TxIn

Show TxIx 
Instance details

Defined in Cardano.Api.TxIn

Eq TxIx 
Instance details

Defined in Cardano.Api.TxIn

Methods

(==) :: TxIx -> TxIx -> Bool Source #

(/=) :: TxIx -> TxIx -> Bool Source #

Ord TxIx 
Instance details

Defined in Cardano.Api.TxIn

data AssetId #

Instances

Instances details
Show AssetId 
Instance details

Defined in Cardano.Api.Value

Eq AssetId 
Instance details

Defined in Cardano.Api.Value

Ord AssetId 
Instance details

Defined in Cardano.Api.Value

newtype AssetName #

Constructors

AssetName ByteString 

Instances

Instances details
FromJSON AssetName 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser AssetName #

parseJSONList :: Value -> Parser [AssetName] #

FromJSONKey AssetName 
Instance details

Defined in Cardano.Api.Value

Methods

fromJSONKey :: FromJSONKeyFunction AssetName

fromJSONKeyList :: FromJSONKeyFunction [AssetName]

ToJSON AssetName 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: AssetName -> Value #

toEncoding :: AssetName -> Encoding #

toJSONList :: [AssetName] -> Value #

toEncodingList :: [AssetName] -> Encoding #

ToJSONKey AssetName 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONKey :: ToJSONKeyFunction AssetName

toJSONKeyList :: ToJSONKeyFunction [AssetName]

IsString AssetName 
Instance details

Defined in Cardano.Api.Value

Show AssetName 
Instance details

Defined in Cardano.Api.Value

HasTypeProxy AssetName 
Instance details

Defined in Cardano.Api.Value

Associated Types

data AsType AssetName #

SerialiseAsRawBytes AssetName 
Instance details

Defined in Cardano.Api.Value

Eq AssetName 
Instance details

Defined in Cardano.Api.Value

Ord AssetName 
Instance details

Defined in Cardano.Api.Value

data AsType AssetName 
Instance details

Defined in Cardano.Api.Value

newtype Lovelace #

Constructors

Lovelace Integer 

Instances

Instances details
FromJSON Lovelace 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser Lovelace #

parseJSONList :: Value -> Parser [Lovelace] #

ToJSON Lovelace 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: Lovelace -> Value #

toEncoding :: Lovelace -> Encoding #

toJSONList :: [Lovelace] -> Value #

toEncodingList :: [Lovelace] -> Encoding #

Monoid Lovelace 
Instance details

Defined in Cardano.Api.Value

Semigroup Lovelace 
Instance details

Defined in Cardano.Api.Value

Enum Lovelace 
Instance details

Defined in Cardano.Api.Value

Num Lovelace 
Instance details

Defined in Cardano.Api.Value

Integral Lovelace 
Instance details

Defined in Cardano.Api.Value

Real Lovelace 
Instance details

Defined in Cardano.Api.Value

Show Lovelace 
Instance details

Defined in Cardano.Api.Value

FromCBOR Lovelace 
Instance details

Defined in Cardano.Api.Value

Methods

fromCBOR :: Decoder s Lovelace

label :: Proxy Lovelace -> Text

ToCBOR Lovelace 
Instance details

Defined in Cardano.Api.Value

Methods

toCBOR :: Lovelace -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Lovelace -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Lovelace] -> Size

Eq Lovelace 
Instance details

Defined in Cardano.Api.Value

Ord Lovelace 
Instance details

Defined in Cardano.Api.Value

newtype PolicyId #

Constructors

PolicyId 

Instances

Instances details
FromJSON PolicyId 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser PolicyId #

parseJSONList :: Value -> Parser [PolicyId] #

ToJSON PolicyId 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: PolicyId -> Value #

toEncoding :: PolicyId -> Encoding #

toJSONList :: [PolicyId] -> Value #

toEncodingList :: [PolicyId] -> Encoding #

IsString PolicyId 
Instance details

Defined in Cardano.Api.Value

Show PolicyId 
Instance details

Defined in Cardano.Api.Value

HasTypeProxy PolicyId 
Instance details

Defined in Cardano.Api.Value

Associated Types

data AsType PolicyId #

SerialiseAsRawBytes PolicyId 
Instance details

Defined in Cardano.Api.Value

Eq PolicyId 
Instance details

Defined in Cardano.Api.Value

Ord PolicyId 
Instance details

Defined in Cardano.Api.Value

data AsType PolicyId 
Instance details

Defined in Cardano.Api.Value

newtype Quantity #

Constructors

Quantity Integer 

Instances

Instances details
FromJSON Quantity 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value -> Parser Quantity #

parseJSONList :: Value -> Parser [Quantity] #

ToJSON Quantity 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: Quantity -> Value #

toEncoding :: Quantity -> Encoding #

toJSONList :: [Quantity] -> Value #

toEncodingList :: [Quantity] -> Encoding #

Monoid Quantity 
Instance details

Defined in Cardano.Api.Value

Semigroup Quantity 
Instance details

Defined in Cardano.Api.Value

Num Quantity 
Instance details

Defined in Cardano.Api.Value

Show Quantity 
Instance details

Defined in Cardano.Api.Value

Eq Quantity 
Instance details

Defined in Cardano.Api.Value

Ord Quantity 
Instance details

Defined in Cardano.Api.Value

data Value #

Instances

Instances details
FromJSON Value 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON :: Value0 -> Parser Value #

parseJSONList :: Value0 -> Parser [Value] #

ToJSON Value 
Instance details

Defined in Cardano.Api.Value

Methods

toJSON :: Value -> Value0 #

toEncoding :: Value -> Encoding #

toJSONList :: [Value] -> Value0 #

toEncodingList :: [Value] -> Encoding #

Monoid Value 
Instance details

Defined in Cardano.Api.Value

Semigroup Value 
Instance details

Defined in Cardano.Api.Value

Show Value 
Instance details

Defined in Cardano.Api.Value

Eq Value 
Instance details

Defined in Cardano.Api.Value

Methods

(==) :: Value -> Value -> Bool Source #

(/=) :: Value -> Value -> Bool Source #

class Typeable a => FromCBOR a #

Minimal complete definition

fromCBOR

Instances

Instances details
FromCBOR Nano 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Nano

label :: Proxy Nano -> Text

FromCBOR Pico 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Pico

label :: Proxy Pico -> Text

FromCBOR Void 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Void

label :: Proxy Void -> Text

FromCBOR Int32 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Int32

label :: Proxy Int32 -> Text

FromCBOR Int64 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Int64

label :: Proxy Int64 -> Text

FromCBOR Word16 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Word16

label :: Proxy Word16 -> Text

FromCBOR Word32 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Word32

label :: Proxy Word32 -> Text

FromCBOR Word64 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Word64

label :: Proxy Word64 -> Text

FromCBOR Word8 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Word8

label :: Proxy Word8 -> Text

FromCBOR ByteString 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s ByteString

label :: Proxy ByteString -> Text

FromCBOR ByteString 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s ByteString

label :: Proxy ByteString -> Text

FromCBOR ShortByteString 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s ShortByteString

label :: Proxy ShortByteString -> Text

FromCBOR Certificate 
Instance details

Defined in Cardano.Api.Certificate

Methods

fromCBOR :: Decoder s Certificate

label :: Proxy Certificate -> Text

FromCBOR OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

FromCBOR OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

FromCBOR CostModel 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

fromCBOR :: Decoder s CostModel

label :: Proxy CostModel -> Text

FromCBOR ExecutionUnitPrices 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromCBOR PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

fromCBOR :: Decoder s PraosNonce

label :: Proxy PraosNonce -> Text

FromCBOR ProtocolParametersUpdate 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromCBOR UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromCBOR AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

FromCBOR ExecutionUnits 
Instance details

Defined in Cardano.Api.Script

FromCBOR ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

Methods

fromCBOR :: Decoder s ScriptData

label :: Proxy ScriptData -> Text

FromCBOR ScriptValidity 
Instance details

Defined in Cardano.Api.TxBody

FromCBOR TxId Source # 
Instance details

Defined in Hydra.Cardano.Api.TxId

Methods

fromCBOR :: Decoder s TxId

label :: Proxy TxId -> Text

FromCBOR Lovelace 
Instance details

Defined in Cardano.Api.Value

Methods

fromCBOR :: Decoder s Lovelace

label :: Proxy Lovelace -> Text

FromCBOR Proof 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

fromCBOR :: Decoder s Proof

label :: Proxy Proof -> Text

FromCBOR SignKey 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

fromCBOR :: Decoder s SignKey

label :: Proxy SignKey -> Text

FromCBOR VerKey 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

fromCBOR :: Decoder s VerKey

label :: Proxy VerKey -> Text

FromCBOR RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

fromCBOR :: Decoder s RedeemVerificationKey

label :: Proxy RedeemVerificationKey -> Text

FromCBOR SigningKey 
Instance details

Defined in Cardano.Crypto.Signing.SigningKey

Methods

fromCBOR :: Decoder s SigningKey

label :: Proxy SigningKey -> Text

FromCBOR VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Methods

fromCBOR :: Decoder s VerificationKey

label :: Proxy VerificationKey -> Text

FromCBOR AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

Methods

fromCBOR :: Decoder s AlonzoGenesis

label :: Proxy AlonzoGenesis -> Text

FromCBOR FailureDescription 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

Methods

fromCBOR :: Decoder s FailureDescription

label :: Proxy FailureDescription -> Text

FromCBOR TagMismatchDescription 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

Methods

fromCBOR :: Decoder s TagMismatchDescription

label :: Proxy TagMismatchDescription -> Text

FromCBOR CostModels 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

fromCBOR :: Decoder s CostModels

label :: Proxy CostModels -> Text

FromCBOR ExUnits 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

fromCBOR :: Decoder s ExUnits

label :: Proxy ExUnits -> Text

FromCBOR Prices 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

fromCBOR :: Decoder s Prices

label :: Proxy Prices -> Text

FromCBOR Tag 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

fromCBOR :: Decoder s Tag

label :: Proxy Tag -> Text

FromCBOR IsValid 
Instance details

Defined in Cardano.Ledger.Alonzo.Tx

Methods

fromCBOR :: Decoder s IsValid

label :: Proxy IsValid -> Text

FromCBOR PlutusDebug 
Instance details

Defined in Cardano.Ledger.Alonzo.TxInfo

Methods

fromCBOR :: Decoder s PlutusDebug

label :: Proxy PlutusDebug -> Text

FromCBOR RdmrPtr 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWitness

Methods

fromCBOR :: Decoder s RdmrPtr

label :: Proxy RdmrPtr -> Text

FromCBOR BlockSignature 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

fromCBOR :: Decoder s BlockSignature

label :: Proxy BlockSignature -> Text

FromCBOR ToSign 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

fromCBOR :: Decoder s ToSign

label :: Proxy ToSign -> Text

FromCBOR HDAddressPayload 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

fromCBOR :: Decoder s HDAddressPayload

label :: Proxy HDAddressPayload -> Text

FromCBOR AddrSpendingData 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

fromCBOR :: Decoder s AddrSpendingData

label :: Proxy AddrSpendingData -> Text

FromCBOR AddrType 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

fromCBOR :: Decoder s AddrType

label :: Proxy AddrType -> Text

FromCBOR Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

fromCBOR :: Decoder s Address

label :: Proxy Address -> Text

FromCBOR Address' 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

fromCBOR :: Decoder s Address'

label :: Proxy Address' -> Text

FromCBOR KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

Methods

fromCBOR :: Decoder s KeyHash

label :: Proxy KeyHash -> Text

FromCBOR NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Methods

fromCBOR :: Decoder s NetworkMagic

label :: Proxy NetworkMagic -> Text

FromCBOR Certificate 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

fromCBOR :: Decoder s Certificate

label :: Proxy Certificate -> Text

FromCBOR Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

Methods

fromCBOR :: Decoder s Config

label :: Proxy Config -> Text

FromCBOR EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

fromCBOR :: Decoder s EpochSlots

label :: Proxy EpochSlots -> Text

FromCBOR Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

fromCBOR :: Decoder s Tx

label :: Proxy Tx -> Text

FromCBOR TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

fromCBOR :: Decoder s TxIn

label :: Proxy TxIn -> Text

FromCBOR TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

fromCBOR :: Decoder s TxOut

label :: Proxy TxOut -> Text

FromCBOR TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

fromCBOR :: Decoder s TxAux

label :: Proxy TxAux -> Text

FromCBOR TxInWitness 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

fromCBOR :: Decoder s TxInWitness

label :: Proxy TxInWitness -> Text

FromCBOR TxSigData 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

fromCBOR :: Decoder s TxSigData

label :: Proxy TxSigData -> Text

FromCBOR Proposal 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

fromCBOR :: Decoder s Proposal

label :: Proxy Proposal -> Text

FromCBOR ProposalBody 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

fromCBOR :: Decoder s ProposalBody

label :: Proxy ProposalBody -> Text

FromCBOR ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Methods

fromCBOR :: Decoder s ProtocolVersion

label :: Proxy ProtocolVersion -> Text

FromCBOR SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

fromCBOR :: Decoder s SoftwareVersion

label :: Proxy SoftwareVersion -> Text

FromCBOR SoftwareVersionError 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

fromCBOR :: Decoder s SoftwareVersionError

label :: Proxy SoftwareVersionError -> Text

FromCBOR Vote 
Instance details

Defined in Cardano.Chain.Update.Vote

Methods

fromCBOR :: Decoder s Vote

label :: Proxy Vote -> Text

FromCBOR ActiveSlotCoeff 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s ActiveSlotCoeff

label :: Proxy ActiveSlotCoeff -> Text

FromCBOR CertIx 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s CertIx

label :: Proxy CertIx -> Text

FromCBOR DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s DnsName

label :: Proxy DnsName -> Text

FromCBOR Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s Network

label :: Proxy Network -> Text

FromCBOR NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s NonNegativeInterval

label :: Proxy NonNegativeInterval -> Text

FromCBOR Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s Nonce

label :: Proxy Nonce -> Text

FromCBOR Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s Port

label :: Proxy Port -> Text

FromCBOR PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s PositiveInterval

label :: Proxy PositiveInterval -> Text

FromCBOR PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s PositiveUnitInterval

label :: Proxy PositiveUnitInterval -> Text

FromCBOR ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s ProtVer

label :: Proxy ProtVer -> Text

FromCBOR TxIx 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s TxIx

label :: Proxy TxIx -> Text

FromCBOR UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s UnitInterval

label :: Proxy UnitInterval -> Text

FromCBOR Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s Url

label :: Proxy Url -> Text

FromCBOR Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

fromCBOR :: Decoder s Coin

label :: Proxy Coin -> Text

FromCBOR DeltaCoin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

fromCBOR :: Decoder s DeltaCoin

label :: Proxy DeltaCoin -> Text

FromCBOR Ptr 
Instance details

Defined in Cardano.Ledger.Credential

Methods

fromCBOR :: Decoder s Ptr

label :: Proxy Ptr -> Text

FromCBOR ChainCode 
Instance details

Defined in Cardano.Ledger.Keys.Bootstrap

Methods

fromCBOR :: Decoder s ChainCode

label :: Proxy ChainCode -> Text

FromCBOR Language 
Instance details

Defined in Cardano.Ledger.Language

Methods

fromCBOR :: Decoder s Language

label :: Proxy Language -> Text

FromCBOR RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

fromCBOR :: Decoder s RewardInfoPool

label :: Proxy RewardInfoPool -> Text

FromCBOR RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

fromCBOR :: Decoder s RewardParams

label :: Proxy RewardParams -> Text

FromCBOR MIRPot 
Instance details

Defined in Cardano.Ledger.Shelley.Delegation.Certificates

Methods

fromCBOR :: Decoder s MIRPot

label :: Proxy MIRPot -> Text

FromCBOR AccountState 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

fromCBOR :: Decoder s AccountState

label :: Proxy AccountState -> Text

FromCBOR Metadatum 
Instance details

Defined in Cardano.Ledger.Shelley.Metadata

Methods

fromCBOR :: Decoder s Metadatum

label :: Proxy Metadatum -> Text

FromCBOR PoolMetadata 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

fromCBOR :: Decoder s PoolMetadata

label :: Proxy PoolMetadata -> Text

FromCBOR StakePoolRelay 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

fromCBOR :: Decoder s StakePoolRelay

label :: Proxy StakePoolRelay -> Text

FromCBOR Likelihood 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

fromCBOR :: Decoder s Likelihood

label :: Proxy Likelihood -> Text

FromCBOR LogWeight 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

fromCBOR :: Decoder s LogWeight

label :: Proxy LogWeight -> Text

FromCBOR PerformanceEstimate 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

fromCBOR :: Decoder s PerformanceEstimate

label :: Proxy PerformanceEstimate -> Text

FromCBOR Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

fromCBOR :: Decoder s Desirability

label :: Proxy Desirability -> Text

FromCBOR RewardType 
Instance details

Defined in Cardano.Ledger.Shelley.Rewards

Methods

fromCBOR :: Decoder s RewardType

label :: Proxy RewardType -> Text

FromCBOR AssetName 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromCBOR :: Decoder s AssetName

label :: Proxy AssetName -> Text

FromCBOR ValidityInterval 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Methods

fromCBOR :: Decoder s ValidityInterval

label :: Proxy ValidityInterval -> Text

FromCBOR KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

fromCBOR :: Decoder s KESPeriod

label :: Proxy KESPeriod -> Text

FromCBOR BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

fromCBOR :: Decoder s BlockNo

label :: Proxy BlockNo -> Text

FromCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR :: Decoder s EpochNo

label :: Proxy EpochNo -> Text

FromCBOR EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR :: Decoder s EpochSize

label :: Proxy EpochSize -> Text

FromCBOR SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR :: Decoder s SlotNo

label :: Proxy SlotNo -> Text

FromCBOR SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

fromCBOR :: Decoder s SystemStart

label :: Proxy SystemStart -> Text

FromCBOR ByronHash 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.Block

Methods

fromCBOR :: Decoder s ByronHash

label :: Proxy ByronHash -> Text

FromCBOR Text 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Text

label :: Proxy Text -> Text

FromCBOR NominalDiffTime 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s NominalDiffTime

label :: Proxy NominalDiffTime -> Text

FromCBOR UTCTime 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s UTCTime

label :: Proxy UTCTime -> Text

FromCBOR Integer 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Integer

label :: Proxy Integer -> Text

FromCBOR Natural 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Natural

label :: Proxy Natural -> Text

FromCBOR () 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s ()

label :: Proxy () -> Text

FromCBOR Bool 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Bool

label :: Proxy Bool -> Text

FromCBOR Float 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Float

label :: Proxy Float -> Text

FromCBOR Int 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Int

label :: Proxy Int -> Text

FromCBOR Word 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s Word

label :: Proxy Word -> Text

(Integral a, FromCBOR a) => FromCBOR (Ratio a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s (Ratio a)

label :: Proxy (Ratio a) -> Text

FromCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

fromCBOR :: Decoder s (Hash ByronKey)

label :: Proxy (Hash ByronKey) -> Text

FromCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (Hash KesKey)

label :: Proxy (Hash KesKey) -> Text

FromCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (Hash VrfKey)

label :: Proxy (Hash VrfKey) -> Text

FromCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash GenesisKey)

label :: Proxy (Hash GenesisKey) -> Text

FromCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash PaymentKey)

label :: Proxy (Hash PaymentKey) -> Text

FromCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakeKey)

label :: Proxy (Hash StakeKey) -> Text

FromCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakePoolKey)

label :: Proxy (Hash StakePoolKey) -> Text

FromCBOR (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (SigningKey KesKey)

label :: Proxy (SigningKey KesKey) -> Text

FromCBOR (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (SigningKey VrfKey)

label :: Proxy (SigningKey VrfKey) -> Text

FromCBOR (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

FromCBOR (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

FromCBOR (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

FromCBOR (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromCBOR (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

(Typeable era, Era (ShelleyLedgerEra era), FromCBOR (PParams (ShelleyLedgerEra era)), FromCBOR (StashedAVVMAddresses (ShelleyLedgerEra era)), FromCBOR (Value (ShelleyLedgerEra era)), FromCBOR (State (EraRule "PPUP" (ShelleyLedgerEra era))), Share (TxOut (ShelleyLedgerEra era)) ~ Interns (Credential 'Staking (Crypto (ShelleyLedgerEra era))), FromSharedCBOR (TxOut (ShelleyLedgerEra era)), HashAnnotated (TxBody (ShelleyLedgerEra era)) EraIndependentTxBody (Crypto (ShelleyLedgerEra era))) => FromCBOR (DebugLedgerState era) 
Instance details

Defined in Cardano.Api.Query

Methods

fromCBOR :: Decoder s (DebugLedgerState era)

label :: Proxy (DebugLedgerState era) -> Text

HasTypeProxy lang => FromCBOR (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

Methods

fromCBOR :: Decoder s (PlutusScript lang)

label :: Proxy (PlutusScript lang) -> Text

(Era era, FromCBOR (Annotator (Script era)), AlonzoScript era ~ Script era) => FromCBOR (Annotator (AuxiliaryData era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.Data

Methods

fromCBOR :: Decoder s (Annotator (AuxiliaryData era))

label :: Proxy (Annotator (AuxiliaryData era)) -> Text

(Era era, FromCBOR (Annotator (Script era)), Script era ~ AlonzoScript era) => FromCBOR (Annotator (AuxiliaryDataRaw era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.Data

Methods

fromCBOR :: Decoder s (Annotator (AuxiliaryDataRaw era))

label :: Proxy (Annotator (AuxiliaryDataRaw era)) -> Text

Typeable era => FromCBOR (Annotator (Data era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.Data

Methods

fromCBOR :: Decoder s (Annotator (Data era))

label :: Proxy (Annotator (Data era)) -> Text

Era era => FromCBOR (Annotator (Script era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

fromCBOR :: Decoder s (Annotator (Script era))

label :: Proxy (Annotator (Script era)) -> Text

(EraScript era, Script era ~ AlonzoScript era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (AuxiliaryData era))) => FromCBOR (Annotator (AlonzoTx era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.Tx

Methods

fromCBOR :: Decoder s (Annotator (AlonzoTx era))

label :: Proxy (Annotator (AlonzoTx era)) -> Text

(Era era, FromCBOR (PParamsUpdate era), Val (Value era), Show (Value era), DecodeNonNegative (Value era)) => FromCBOR (Annotator (AlonzoTxBody era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

fromCBOR :: Decoder s (Annotator (AlonzoTxBody era))

label :: Proxy (Annotator (AlonzoTxBody era)) -> Text

(Era era, FromCBOR (PParamsUpdate era), Val (Value era), Show (Value era), DecodeNonNegative (Value era)) => FromCBOR (Annotator (TxBodyRaw era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

fromCBOR :: Decoder s (Annotator (TxBodyRaw era))

label :: Proxy (Annotator (TxBodyRaw era)) -> Text

(Script era ~ AlonzoScript era, EraTx era) => FromCBOR (Annotator (TxSeq era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxSeq

Methods

fromCBOR :: Decoder s (Annotator (TxSeq era))

label :: Proxy (Annotator (TxSeq era)) -> Text

Era era => FromCBOR (Annotator (Redeemers era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWitness

Methods

fromCBOR :: Decoder s (Annotator (Redeemers era))

label :: Proxy (Annotator (Redeemers era)) -> Text

Era era => FromCBOR (Annotator (RedeemersRaw era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWitness

Methods

fromCBOR :: Decoder s (Annotator (RedeemersRaw era))

label :: Proxy (Annotator (RedeemersRaw era)) -> Text

Era era => FromCBOR (Annotator (TxDats era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWitness

Methods

fromCBOR :: Decoder s (Annotator (TxDats era))

label :: Proxy (Annotator (TxDats era)) -> Text

Era era => FromCBOR (Annotator (TxDatsRaw era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWitness

Methods

fromCBOR :: Decoder s (Annotator (TxDatsRaw era))

label :: Proxy (Annotator (TxDatsRaw era)) -> Text

(EraScript era, Script era ~ AlonzoScript era) => FromCBOR (Annotator (TxWitness era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWitness

Methods

fromCBOR :: Decoder s (Annotator (TxWitness era))

label :: Proxy (Annotator (TxWitness era)) -> Text

(EraScript era, ToCBOR (Data era), EraScript era, Script era ~ AlonzoScript era) => FromCBOR (Annotator (TxWitnessRaw era)) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWitness

Methods

fromCBOR :: Decoder s (Annotator (TxWitnessRaw era))

label :: Proxy (Annotator (TxWitnessRaw era)) -> Text

(Era era, Val (Value era), DecodeNonNegative (Value era), FromCBOR (PParamsUpdate era), FromCBOR (Annotator (Script era))) => FromCBOR (Annotator (BabbageTxBody era)) 
Instance details

Defined in Cardano.Ledger.Babbage.TxBody

Methods

fromCBOR :: Decoder s (Annotator (BabbageTxBody era))

label :: Proxy (Annotator (BabbageTxBody era)) -> Text

(Era era, Val (Value era), DecodeNonNegative (Value era), FromCBOR (PParamsUpdate era), FromCBOR (Annotator (Script era))) => FromCBOR (Annotator (TxBodyRaw era)) 
Instance details

Defined in Cardano.Ledger.Babbage.TxBody

Methods

fromCBOR :: Decoder s (Annotator (TxBodyRaw era))

label :: Proxy (Annotator (TxBodyRaw era)) -> Text

Crypto crypto => FromCBOR (Annotator (BootstrapWitness crypto)) 
Instance details

Defined in Cardano.Ledger.Keys.Bootstrap

Methods

fromCBOR :: Decoder s (Annotator (BootstrapWitness crypto))

label :: Proxy (Annotator (BootstrapWitness crypto)) -> Text

(Typeable kr, Crypto crypto) => FromCBOR (Annotator (WitVKey kr crypto)) 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

Methods

fromCBOR :: Decoder s (Annotator (WitVKey kr crypto))

label :: Proxy (Annotator (WitVKey kr crypto)) -> Text

EraTx era => FromCBOR (Annotator (ShelleyTxSeq era)) 
Instance details

Defined in Cardano.Ledger.Shelley.BlockChain

Methods

fromCBOR :: Decoder s (Annotator (ShelleyTxSeq era))

label :: Proxy (Annotator (ShelleyTxSeq era)) -> Text

Typeable era => FromCBOR (Annotator (Metadata era)) 
Instance details

Defined in Cardano.Ledger.Shelley.Metadata

Methods

fromCBOR :: Decoder s (Annotator (Metadata era))

label :: Proxy (Annotator (Metadata era)) -> Text

Crypto crypto => FromCBOR (Annotator (MultiSig crypto)) 
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

Methods

fromCBOR :: Decoder s (Annotator (MultiSig crypto))

label :: Proxy (Annotator (MultiSig crypto)) -> Text

Crypto crypto => FromCBOR (Annotator (MultiSigRaw crypto)) 
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

Methods

fromCBOR :: Decoder s (Annotator (MultiSigRaw crypto))

label :: Proxy (Annotator (MultiSigRaw crypto)) -> Text

EraTx era => FromCBOR (Annotator (Tx era)) 
Instance details

Defined in Cardano.Ledger.Shelley.Tx

Methods

fromCBOR :: Decoder s (Annotator (Tx era))

label :: Proxy (Annotator (Tx era)) -> Text

(Era era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (Witnesses era)), FromCBOR (Annotator (AuxiliaryData era))) => FromCBOR (Annotator (TxRaw era)) 
Instance details

Defined in Cardano.Ledger.Shelley.Tx

Methods

fromCBOR :: Decoder s (Annotator (TxRaw era))

label :: Proxy (Annotator (TxRaw era)) -> Text

EraScript era => FromCBOR (Annotator (WitnessSetHKD Identity era)) 
Instance details

Defined in Cardano.Ledger.Shelley.Tx

Methods

fromCBOR :: Decoder s (Annotator (WitnessSetHKD Identity era))

label :: Proxy (Annotator (WitnessSetHKD Identity era)) -> Text

EraTxBody era => FromCBOR (Annotator (TxBody era)) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

fromCBOR :: Decoder s (Annotator (TxBody era))

label :: Proxy (Annotator (TxBody era)) -> Text

(Era era, FromCBOR (PParamsUpdate era), DecodeNonNegative (Value era), Compactible (Value era), Show (Value era)) => FromCBOR (Annotator (TxBodyRaw era)) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

fromCBOR :: Decoder s (Annotator (TxBodyRaw era))

label :: Proxy (Annotator (TxBodyRaw era)) -> Text

(Era era, FromCBOR (Annotator (Script era))) => FromCBOR (Annotator (AuxiliaryDataRaw era)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.AuxiliaryData

Methods

fromCBOR :: Decoder s (Annotator (AuxiliaryDataRaw era))

label :: Proxy (Annotator (AuxiliaryDataRaw era)) -> Text

(Era era, FromCBOR (Annotator (Script era))) => FromCBOR (Annotator (MAAuxiliaryData era)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.AuxiliaryData

Methods

fromCBOR :: Decoder s (Annotator (MAAuxiliaryData era))

label :: Proxy (Annotator (MAAuxiliaryData era)) -> Text

Crypto crypto => FromCBOR (Annotator (Timelock crypto)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Methods

fromCBOR :: Decoder s (Annotator (Timelock crypto))

label :: Proxy (Annotator (Timelock crypto)) -> Text

Crypto crypto => FromCBOR (Annotator (TimelockRaw crypto)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Methods

fromCBOR :: Decoder s (Annotator (TimelockRaw crypto))

label :: Proxy (Annotator (TimelockRaw crypto)) -> Text

ShelleyMAEraTxBody era => FromCBOR (Annotator (MATxBody era)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Methods

fromCBOR :: Decoder s (Annotator (MATxBody era))

label :: Proxy (Annotator (MATxBody era)) -> Text

ShelleyMAEraTxBody era => FromCBOR (Annotator (TxBodyRaw era)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Methods

fromCBOR :: Decoder s (Annotator (TxBodyRaw era))

label :: Proxy (Annotator (TxBodyRaw era)) -> Text

Crypto crypto => FromCBOR (Annotator (BHeader crypto)) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Methods

fromCBOR :: Decoder s (Annotator (BHeader crypto))

label :: Proxy (Annotator (BHeader crypto)) -> Text

ShelleyCompatible proto era => FromCBOR (Annotator (Header (ShelleyBlock proto era))) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Block

Methods

fromCBOR :: Decoder s (Annotator (Header (ShelleyBlock proto era)))

label :: Proxy (Annotator (Header (ShelleyBlock proto era))) -> Text

Crypto crypto => FromCBOR (Annotator (Header crypto)) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Header

Methods

fromCBOR :: Decoder s (Annotator (Header crypto))

label :: Proxy (Annotator (Header crypto)) -> Text

Crypto crypto => FromCBOR (Annotator (HeaderRaw crypto)) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Header

Methods

fromCBOR :: Decoder s (Annotator (HeaderRaw crypto))

label :: Proxy (Annotator (HeaderRaw crypto)) -> Text

ShelleyCompatible proto era => FromCBOR (Annotator (ShelleyBlock proto era)) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Block

Methods

fromCBOR :: Decoder s (Annotator (ShelleyBlock proto era))

label :: Proxy (Annotator (ShelleyBlock proto era)) -> Text

FromCBOR (SigDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

fromCBOR :: Decoder s (SigDSIGN Ed25519DSIGN)

label :: Proxy (SigDSIGN Ed25519DSIGN) -> Text

FromCBOR (SigDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

fromCBOR :: Decoder s (SigDSIGN MockDSIGN)

label :: Proxy (SigDSIGN MockDSIGN) -> Text

FromCBOR (SignKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

fromCBOR :: Decoder s (SignKeyDSIGN Ed25519DSIGN)

label :: Proxy (SignKeyDSIGN Ed25519DSIGN) -> Text

FromCBOR (SignKeyDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

fromCBOR :: Decoder s (SignKeyDSIGN MockDSIGN)

label :: Proxy (SignKeyDSIGN MockDSIGN) -> Text

FromCBOR (VerKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

fromCBOR :: Decoder s (VerKeyDSIGN Ed25519DSIGN)

label :: Proxy (VerKeyDSIGN Ed25519DSIGN) -> Text

FromCBOR (VerKeyDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

fromCBOR :: Decoder s (VerKeyDSIGN MockDSIGN)

label :: Proxy (VerKeyDSIGN MockDSIGN) -> Text

(KESAlgorithm d, HashAlgorithm h) => FromCBOR (SigKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Methods

fromCBOR :: Decoder s (SigKES (SumKES h d))

label :: Proxy (SigKES (SumKES h d)) -> Text

(KESAlgorithm d, HashAlgorithm h) => FromCBOR (SignKeyKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Methods

fromCBOR :: Decoder s (SignKeyKES (SumKES h d))

label :: Proxy (SignKeyKES (SumKES h d)) -> Text

(KESAlgorithm d, HashAlgorithm h) => FromCBOR (VerKeyKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Methods

fromCBOR :: Decoder s (VerKeyKES (SumKES h d))

label :: Proxy (VerKeyKES (SumKES h d)) -> Text

FromCBOR (CertVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

fromCBOR :: Decoder s (CertVRF PraosVRF)

label :: Proxy (CertVRF PraosVRF) -> Text

FromCBOR (CertVRF FakeVRF) 
Instance details

Defined in Test.Cardano.Crypto.VRF.Fake

Methods

fromCBOR :: Decoder s (CertVRF FakeVRF)

label :: Proxy (CertVRF FakeVRF) -> Text

Typeable v => FromCBOR (OutputVRF v) 
Instance details

Defined in Cardano.Crypto.VRF.Class

Methods

fromCBOR :: Decoder s (OutputVRF v)

label :: Proxy (OutputVRF v) -> Text

FromCBOR (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

fromCBOR :: Decoder s (SignKeyVRF PraosVRF)

label :: Proxy (SignKeyVRF PraosVRF) -> Text

FromCBOR (SignKeyVRF FakeVRF) 
Instance details

Defined in Test.Cardano.Crypto.VRF.Fake

Methods

fromCBOR :: Decoder s (SignKeyVRF FakeVRF)

label :: Proxy (SignKeyVRF FakeVRF) -> Text

FromCBOR (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

fromCBOR :: Decoder s (VerKeyVRF PraosVRF)

label :: Proxy (VerKeyVRF PraosVRF) -> Text

FromCBOR (VerKeyVRF FakeVRF) 
Instance details

Defined in Test.Cardano.Crypto.VRF.Fake

Methods

fromCBOR :: Decoder s (VerKeyVRF FakeVRF)

label :: Proxy (VerKeyVRF FakeVRF) -> Text

Typeable era => FromCBOR (BinaryData era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Data

Methods

fromCBOR :: Decoder s (BinaryData era)

label :: Proxy (BinaryData era) -> Text

Era era => FromCBOR (Datum era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Data

Methods

fromCBOR :: Decoder s (Datum era)

label :: Proxy (Datum era) -> Text

Era era => FromCBOR (PParams era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

fromCBOR :: Decoder s (PParams era)

label :: Proxy (PParams era) -> Text

Era era => FromCBOR (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

fromCBOR :: Decoder s (PParamsUpdate era)

label :: Proxy (PParamsUpdate era) -> Text

(Typeable era, FromCBOR (ShelleyBbodyPredFailure era)) => FromCBOR (AlonzoBbodyPredFailure era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

Methods

fromCBOR :: Decoder s (AlonzoBbodyPredFailure era)

label :: Proxy (AlonzoBbodyPredFailure era) -> Text

(Era era, FromCBOR (TxOut era), FromCBOR (Value era), FromCBOR (PredicateFailure (EraRule "UTXOS" era))) => FromCBOR (AlonzoUtxoPredFailure era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxo

Methods

fromCBOR :: Decoder s (AlonzoUtxoPredFailure era)

label :: Proxy (AlonzoUtxoPredFailure era) -> Text

(Era era, FromCBOR (PredicateFailure (EraRule "PPUP" era))) => FromCBOR (AlonzoUtxosPredFailure era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

Methods

fromCBOR :: Decoder s (AlonzoUtxosPredFailure era)

label :: Proxy (AlonzoUtxosPredFailure era) -> Text

(Era era, FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) => FromCBOR (AlonzoUtxowPredFailure era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxow

Methods

fromCBOR :: Decoder s (AlonzoUtxowPredFailure era)

label :: Proxy (AlonzoUtxowPredFailure era) -> Text

Crypto c => FromCBOR (ScriptPurpose c) 
Instance details

Defined in Cardano.Ledger.Alonzo.Tx

Methods

fromCBOR :: Decoder s (ScriptPurpose c)

label :: Proxy (ScriptPurpose c) -> Text

(Era era, Show (Value era), Val (Value era), DecodeNonNegative (Value era)) => FromCBOR (AlonzoTxOut era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

fromCBOR :: Decoder s (AlonzoTxOut era)

label :: Proxy (AlonzoTxOut era) -> Text

(Era era, FromCBOR (PParamsUpdate era), Show (Value era), Val (Value era), DecodeNonNegative (Value era)) => FromCBOR (TxBodyRaw era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

fromCBOR :: Decoder s (TxBodyRaw era)

label :: Proxy (TxBodyRaw era) -> Text

Crypto crypto => FromCBOR (TranslationError crypto) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxInfo

Methods

fromCBOR :: Decoder s (TranslationError crypto)

label :: Proxy (TranslationError crypto) -> Text

Crypto crypto => FromCBOR (TxOutSource crypto) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxInfo

Methods

fromCBOR :: Decoder s (TxOutSource crypto)

label :: Proxy (TxOutSource crypto) -> Text

Era era => FromCBOR (BabbagePParams era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

fromCBOR :: Decoder s (BabbagePParams era)

label :: Proxy (BabbagePParams era) -> Text

Era era => FromCBOR (BabbagePParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

fromCBOR :: Decoder s (BabbagePParamsUpdate era)

label :: Proxy (BabbagePParamsUpdate era) -> Text

(Era era, FromCBOR (TxOut era), FromCBOR (Value era), FromCBOR (PredicateFailure (EraRule "UTXOS" era)), FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) => FromCBOR (BabbageUtxoPredFailure era) 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

Methods

fromCBOR :: Decoder s (BabbageUtxoPredFailure era)

label :: Proxy (BabbageUtxoPredFailure era) -> Text

(Era era, FromCBOR (TxOut era), FromCBOR (Value era), FromCBOR (PredicateFailure (EraRule "UTXOS" era)), FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) => FromCBOR (BabbageUtxowPredFailure era) 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

Methods

fromCBOR :: Decoder s (BabbageUtxowPredFailure era)

label :: Proxy (BabbageUtxowPredFailure era) -> Text

(Era era, Val (Value era), FromCBOR (Annotator (Script era)), DecodeNonNegative (Value era)) => FromCBOR (BabbageTxOut era) 
Instance details

Defined in Cardano.Ledger.Babbage.TxBody

Methods

fromCBOR :: Decoder s (BabbageTxOut era)

label :: Proxy (BabbageTxOut era) -> Text

(Era era, Val (Value era), DecodeNonNegative (Value era), FromCBOR (Annotator (Script era)), FromCBOR (PParamsUpdate era)) => FromCBOR (TxBodyRaw era) 
Instance details

Defined in Cardano.Ledger.Babbage.TxBody

Methods

fromCBOR :: Decoder s (TxBodyRaw era)

label :: Proxy (TxBodyRaw era) -> Text

FromCBOR (ABlockSignature ByteSpan) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

fromCBOR :: Decoder s (ABlockSignature ByteSpan)

label :: Proxy (ABlockSignature ByteSpan) -> Text

FromCBOR (Attributes AddrAttributes) 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

fromCBOR :: Decoder s (Attributes AddrAttributes)

label :: Proxy (Attributes AddrAttributes) -> Text

FromCBOR (ACertificate ByteSpan) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

fromCBOR :: Decoder s (ACertificate ByteSpan)

label :: Proxy (ACertificate ByteSpan) -> Text

FromCBOR (ATxAux ByteSpan) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

fromCBOR :: Decoder s (ATxAux ByteSpan)

label :: Proxy (ATxAux ByteSpan) -> Text

FromCBOR (AProposal ByteSpan) 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

fromCBOR :: Decoder s (AProposal ByteSpan)

label :: Proxy (AProposal ByteSpan) -> Text

FromCBOR (AVote ByteSpan) 
Instance details

Defined in Cardano.Chain.Update.Vote

Methods

fromCBOR :: Decoder s (AVote ByteSpan)

label :: Proxy (AVote ByteSpan) -> Text

Crypto crypto => FromCBOR (Addr crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

fromCBOR :: Decoder s (Addr crypto)

label :: Proxy (Addr crypto) -> Text

Crypto crypto => FromCBOR (RewardAcnt crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

fromCBOR :: Decoder s (RewardAcnt crypto)

label :: Proxy (RewardAcnt crypto) -> Text

Crypto crypto => FromCBOR (BlocksMade crypto) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s (BlocksMade crypto)

label :: Proxy (BlocksMade crypto) -> Text

FromCBOR (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

fromCBOR :: Decoder s (CompactForm Coin)

label :: Proxy (CompactForm Coin) -> Text

FromCBOR (CompactForm DeltaCoin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

fromCBOR :: Decoder s (CompactForm DeltaCoin)

label :: Proxy (CompactForm DeltaCoin) -> Text

Crypto crypto => FromCBOR (CompactForm (MaryValue crypto)) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromCBOR :: Decoder s (CompactForm (MaryValue crypto))

label :: Proxy (CompactForm (MaryValue crypto)) -> Text

Crypto crypto => FromCBOR (ScriptHash crypto) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

fromCBOR :: Decoder s (ScriptHash crypto)

label :: Proxy (ScriptHash crypto) -> Text

Crypto crypto => FromCBOR (GenDelegPair crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

fromCBOR :: Decoder s (GenDelegPair crypto)

label :: Proxy (GenDelegPair crypto) -> Text

Crypto crypto => FromCBOR (GenDelegs crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

fromCBOR :: Decoder s (GenDelegs crypto)

label :: Proxy (GenDelegs crypto) -> Text

Crypto crypto => FromCBOR (IndividualPoolStake crypto) 
Instance details

Defined in Cardano.Ledger.PoolDistr

Methods

fromCBOR :: Decoder s (IndividualPoolStake crypto)

label :: Proxy (IndividualPoolStake crypto) -> Text

Crypto crypto => FromCBOR (PoolDistr crypto) 
Instance details

Defined in Cardano.Ledger.PoolDistr

Methods

fromCBOR :: Decoder s (PoolDistr crypto)

label :: Proxy (PoolDistr crypto) -> Text

Crypto crypto => FromCBOR (TxId crypto) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

fromCBOR :: Decoder s (TxId crypto)

label :: Proxy (TxId crypto) -> Text

Crypto crypto => FromCBOR (TxIn crypto) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

fromCBOR :: Decoder s (TxIn crypto)

label :: Proxy (TxIn crypto) -> Text

Crypto crypto => FromCBOR (DCert crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Delegation.Certificates

Methods

fromCBOR :: Decoder s (DCert crypto)

label :: Proxy (DCert crypto) -> Text

Crypto crypto => FromCBOR (MIRCert crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Delegation.Certificates

Methods

fromCBOR :: Decoder s (MIRCert crypto)

label :: Proxy (MIRCert crypto) -> Text

Crypto crypto => FromCBOR (MIRTarget crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Delegation.Certificates

Methods

fromCBOR :: Decoder s (MIRTarget crypto)

label :: Proxy (MIRTarget crypto) -> Text

Era era => FromCBOR (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

fromCBOR :: Decoder s (ShelleyGenesis era)

label :: Proxy (ShelleyGenesis era) -> Text

Crypto crypto => FromCBOR (ShelleyGenesisStaking crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

fromCBOR :: Decoder s (ShelleyGenesisStaking crypto)

label :: Proxy (ShelleyGenesisStaking crypto) -> Text

Crypto crypto => FromCBOR (FutureGenDeleg crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.DPState

Methods

fromCBOR :: Decoder s (FutureGenDeleg crypto)

label :: Proxy (FutureGenDeleg crypto) -> Text

(Crypto crypto, FromSharedCBOR (PState crypto)) => FromCBOR (PState crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.DPState

Methods

fromCBOR :: Decoder s (PState crypto)

label :: Proxy (PState crypto) -> Text

(FromCBOR (Value era), FromCBOR (PParams era), HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era), FromSharedCBOR (TxOut era), Share (TxOut era) ~ Interns (Credential 'Staking (Crypto era)), FromCBOR (State (EraRule "PPUP" era)), Era era) => FromCBOR (EpochState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

fromCBOR :: Decoder s (EpochState era)

label :: Proxy (EpochState era) -> Text

(Era era, FromCBOR (PParams era), FromSharedCBOR (TxOut era), Share (TxOut era) ~ Interns (Credential 'Staking (Crypto era)), FromCBOR (Value era), FromCBOR (State (EraRule "PPUP" era)), FromCBOR (StashedAVVMAddresses era), HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era)) => FromCBOR (NewEpochState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

fromCBOR :: Decoder s (NewEpochState era)

label :: Proxy (NewEpochState era) -> Text

(Era era, FromCBOR (PParamsUpdate era)) => FromCBOR (PPUPState era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

fromCBOR :: Decoder s (PPUPState era)

label :: Proxy (PPUPState era) -> Text

Era era => FromCBOR (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

fromCBOR :: Decoder s (PParamsUpdate era)

label :: Proxy (PParamsUpdate era) -> Text

(Era era, FromCBOR (PParamsUpdate era)) => FromCBOR (ProposedPPUpdates era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

fromCBOR :: Decoder s (ProposedPPUpdates era)

label :: Proxy (ProposedPPUpdates era) -> Text

Era era => FromCBOR (ShelleyPParams era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

fromCBOR :: Decoder s (ShelleyPParams era)

label :: Proxy (ShelleyPParams era) -> Text

(Era era, FromCBOR (PParamsUpdate era)) => FromCBOR (Update era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

fromCBOR :: Decoder s (Update era)

label :: Proxy (Update era) -> Text

Crypto crypto => FromCBOR (PoolParams crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

fromCBOR :: Decoder s (PoolParams crypto)

label :: Proxy (PoolParams crypto) -> Text

Crypto crypto => FromCBOR (RewardProvenance crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

fromCBOR :: Decoder s (RewardProvenance crypto)

label :: Proxy (RewardProvenance crypto) -> Text

Crypto crypto => FromCBOR (RewardProvenancePool crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

fromCBOR :: Decoder s (RewardProvenancePool crypto)

label :: Proxy (RewardProvenancePool crypto) -> Text

Crypto crypto => FromCBOR (FreeVars crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

fromCBOR :: Decoder s (FreeVars crypto)

label :: Proxy (FreeVars crypto) -> Text

Crypto c => FromCBOR (Pulser c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

fromCBOR :: Decoder s (Pulser c)

label :: Proxy (Pulser c) -> Text

Crypto crypto => FromCBOR (PulsingRewUpdate crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

fromCBOR :: Decoder s (PulsingRewUpdate crypto)

label :: Proxy (PulsingRewUpdate crypto) -> Text

Crypto c => FromCBOR (RewardAns c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

fromCBOR :: Decoder s (RewardAns c)

label :: Proxy (RewardAns c) -> Text

Crypto crypto => FromCBOR (RewardSnapShot crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

fromCBOR :: Decoder s (RewardSnapShot crypto)

label :: Proxy (RewardSnapShot crypto) -> Text

Crypto crypto => FromCBOR (RewardUpdate crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

fromCBOR :: Decoder s (RewardUpdate crypto)

label :: Proxy (RewardUpdate crypto) -> Text

Crypto crypto => FromCBOR (LeaderOnlyReward crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Rewards

Methods

fromCBOR :: Decoder s (LeaderOnlyReward crypto)

label :: Proxy (LeaderOnlyReward crypto) -> Text

Crypto crypto => FromCBOR (PoolRewardInfo crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Rewards

Methods

fromCBOR :: Decoder s (PoolRewardInfo crypto)

label :: Proxy (PoolRewardInfo crypto) -> Text

Crypto crypto => FromCBOR (Reward crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Rewards

Methods

fromCBOR :: Decoder s (Reward crypto)

label :: Proxy (Reward crypto) -> Text

(Era era, FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) => FromCBOR (ShelleyUtxowPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxow

Methods

fromCBOR :: Decoder s (ShelleyUtxowPredFailure era)

label :: Proxy (ShelleyUtxowPredFailure era) -> Text

(Era era, FromCBOR (PParamsUpdate era), DecodeNonNegative (Value era), Compactible (Value era), Show (Value era)) => FromCBOR (TxBodyRaw era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

fromCBOR :: Decoder s (TxBodyRaw era)

label :: Proxy (TxBodyRaw era) -> Text

(Era era, DecodeNonNegative (Value era), Compactible (Value era), Show (Value era)) => FromCBOR (TxOut era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

fromCBOR :: Decoder s (TxOut era)

label :: Proxy (TxOut era) -> Text

Crypto crypto => FromCBOR (Wdrl crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

fromCBOR :: Decoder s (Wdrl crypto)

label :: Proxy (Wdrl crypto) -> Text

(FromCBOR (TxOut era), Era era) => FromCBOR (UTxO era) 
Instance details

Defined in Cardano.Ledger.Shelley.UTxO

Methods

fromCBOR :: Decoder s (UTxO era)

label :: Proxy (UTxO era) -> Text

Crypto crypto => FromCBOR (CompactValue crypto) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromCBOR :: Decoder s (CompactValue crypto)

label :: Proxy (CompactValue crypto) -> Text

Crypto crypto => FromCBOR (MaryValue crypto) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromCBOR :: Decoder s (MaryValue crypto)

label :: Proxy (MaryValue crypto) -> Text

Crypto crypto => FromCBOR (PolicyID crypto) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromCBOR :: Decoder s (PolicyID crypto)

label :: Proxy (PolicyID crypto) -> Text

(EraTxOut era, FromCBOR (PredicateFailure (EraRule "PPUP" era))) => FromCBOR (ShelleyMAUtxoPredFailure era) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Rules.Utxo

Methods

fromCBOR :: Decoder s (ShelleyMAUtxoPredFailure era)

label :: Proxy (ShelleyMAUtxoPredFailure era) -> Text

ShelleyMAEraTxBody era => FromCBOR (TxBodyRaw era) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Methods

fromCBOR :: Decoder s (TxBodyRaw era)

label :: Proxy (TxBodyRaw era) -> Text

Crypto crypto => FromCBOR (BHBody crypto) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Methods

fromCBOR :: Decoder s (BHBody crypto)

label :: Proxy (BHBody crypto) -> Text

Crypto crypto => FromCBOR (HashHeader crypto) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Methods

fromCBOR :: Decoder s (HashHeader crypto)

label :: Proxy (HashHeader crypto) -> Text

Crypto crypto => FromCBOR (LastAppliedBlock crypto) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Methods

fromCBOR :: Decoder s (LastAppliedBlock crypto)

label :: Proxy (LastAppliedBlock crypto) -> Text

Crypto crypto => FromCBOR (PrevHash crypto) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Methods

fromCBOR :: Decoder s (PrevHash crypto)

label :: Proxy (PrevHash crypto) -> Text

Crypto crypto => FromCBOR (PrtclState crypto) 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Methods

fromCBOR :: Decoder s (PrtclState crypto)

label :: Proxy (PrtclState crypto) -> Text

(Serialise t, Typeable t) => FromCBOR (WithOrigin t) 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR :: Decoder s (WithOrigin t)

label :: Proxy (WithOrigin t) -> Text

FromCBOR a => FromCBOR (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

fromCBOR :: Decoder s (StrictMaybe a)

label :: Proxy (StrictMaybe a) -> Text

(Ord a, FromCBOR a) => FromCBOR (Set a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s (Set a)

label :: Proxy (Set a) -> Text

PraosCrypto c => FromCBOR (PraosState c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos

Methods

fromCBOR :: Decoder s (PraosState c)

label :: Proxy (PraosState c) -> Text

Crypto crypto => FromCBOR (HeaderBody crypto) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Header

Methods

fromCBOR :: Decoder s (HeaderBody crypto)

label :: Proxy (HeaderBody crypto) -> Text

Crypto crypto => FromCBOR (HeaderRaw crypto) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Header

Methods

fromCBOR :: Decoder s (HeaderRaw crypto)

label :: Proxy (HeaderRaw crypto) -> Text

PraosCrypto c => FromCBOR (TPraosState c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.TPraos

Methods

fromCBOR :: Decoder s (TPraosState c)

label :: Proxy (TPraosState c) -> Text

Era era => FromCBOR (CompactGenesis era) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Config

Methods

fromCBOR :: Decoder s (CompactGenesis era)

label :: Proxy (CompactGenesis era) -> Text

Crypto crypto => FromCBOR (StakeSnapshot crypto) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Query

Methods

fromCBOR :: Decoder s (StakeSnapshot crypto)

label :: Proxy (StakeSnapshot crypto) -> Text

Crypto crypto => FromCBOR (StakeSnapshots crypto) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Query

Methods

fromCBOR :: Decoder s (StakeSnapshots crypto)

label :: Proxy (StakeSnapshots crypto) -> Text

Crypto crypto => FromCBOR (ShelleyHash crypto) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Protocol.Abstract

Methods

fromCBOR :: Decoder s (ShelleyHash crypto)

label :: Proxy (ShelleyHash crypto) -> Text

FromCBOR a => FromCBOR (Vector a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s (Vector a)

label :: Proxy (Vector a) -> Text

FromCBOR a => FromCBOR (NonEmpty a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s (NonEmpty a)

label :: Proxy (NonEmpty a) -> Text

FromCBOR a => FromCBOR (Maybe a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s (Maybe a)

label :: Proxy (Maybe a) -> Text

FromCBOR a => FromCBOR [a] 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s [a]

label :: Proxy [a] -> Text

(FromCBOR a, FromCBOR b) => FromCBOR (Either a b) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s (Either a b)

label :: Proxy (Either a b) -> Text

(HashAlgorithm h, Typeable a) => FromCBOR (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

fromCBOR :: Decoder s (Hash h a)

label :: Proxy (Hash h a) -> Text

(VRFAlgorithm v, Typeable a) => FromCBOR (CertifiedVRF v a) 
Instance details

Defined in Cardano.Crypto.VRF.Class

Methods

fromCBOR :: Decoder s (CertifiedVRF v a)

label :: Proxy (CertifiedVRF v a) -> Text

(FromCBOR k, FromCBOR v) => FromCBOR (ListMap k v) 
Instance details

Defined in Data.ListMap

Methods

fromCBOR :: Decoder s (ListMap k v)

label :: Proxy (ListMap k v) -> Text

(FromCBOR a, Bounded (BoundedRatio b a), Bounded a, Integral a, Typeable b, Show a) => FromCBOR (BoundedRatio b a) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

fromCBOR :: Decoder s (BoundedRatio b a)

label :: Proxy (BoundedRatio b a) -> Text

(Typeable kr, Crypto crypto) => FromCBOR (Credential kr crypto) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

fromCBOR :: Decoder s (Credential kr crypto)

label :: Proxy (Credential kr crypto) -> Text

(Crypto crypto, Typeable disc) => FromCBOR (KeyHash disc crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

fromCBOR :: Decoder s (KeyHash disc crypto)

label :: Proxy (KeyHash disc crypto) -> Text

(Crypto crypto, Typeable kd) => FromCBOR (VKey kd crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

fromCBOR :: Decoder s (VKey kd crypto)

label :: Proxy (VKey kd crypto) -> Text

(Typeable index, Crypto c) => FromCBOR (SafeHash c index) 
Instance details

Defined in Cardano.Ledger.SafeHash

Methods

fromCBOR :: Decoder s (SafeHash c index)

label :: Proxy (SafeHash c index) -> Text

(Ord k, FromCBOR k, FromCBOR v) => FromCBOR (Map k v) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s (Map k v)

label :: Proxy (Map k v) -> Text

(FromCBOR a, FromCBOR b) => FromCBOR (a, b) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s (a, b)

label :: Proxy (a, b) -> Text

(Ord a, Ord b, FromCBOR a, FromCBOR b) => FromCBOR (BiMap b a b) 
Instance details

Defined in Data.BiMap

Methods

fromCBOR :: Decoder s (BiMap b a b)

label :: Proxy (BiMap b a b) -> Text

(Typeable s, FromCBOR a) => FromCBOR (Tagged s a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s0 (Tagged s a)

label :: Proxy (Tagged s a) -> Text

(FromCBOR k, FromCBOR v, Ord k, Vector kv k, Vector vv v, Typeable kv, Typeable vv) => FromCBOR (KVVector kv vv (k, v)) 
Instance details

Defined in Data.VMap.KVVector

Methods

fromCBOR :: Decoder s (KVVector kv vv (k, v))

label :: Proxy (KVVector kv vv (k, v)) -> Text

(FromCBOR a, FromCBOR b, FromCBOR c) => FromCBOR (a, b, c) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s (a, b, c)

label :: Proxy (a, b, c) -> Text

(Typeable kv, Typeable vv, FromCBOR k, FromCBOR v, Ord k, Vector kv k, Vector vv v) => FromCBOR (VMap kv vv k v) 
Instance details

Defined in Data.VMap

Methods

fromCBOR :: Decoder s (VMap kv vv k v)

label :: Proxy (VMap kv vv k v) -> Text

(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d) => FromCBOR (a, b, c, d) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s (a, b, c, d)

label :: Proxy (a, b, c, d) -> Text

(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d, FromCBOR e) => FromCBOR (a, b, c, d, e) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s (a, b, c, d, e)

label :: Proxy (a, b, c, d, e) -> Text

(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d, FromCBOR e, FromCBOR f, FromCBOR g) => FromCBOR (a, b, c, d, e, f, g) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR :: Decoder s (a, b, c, d, e, f, g)

label :: Proxy (a, b, c, d, e, f, g) -> Text

class Typeable a => ToCBOR a #

Minimal complete definition

toCBOR

Instances

Instances details
ToCBOR Nano 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Nano -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Nano -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Nano] -> Size

ToCBOR Pico 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Pico -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Pico -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Pico] -> Size

ToCBOR Void 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Void -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Void -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Void] -> Size

ToCBOR Int32 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Int32 -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Int32 -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Int32] -> Size

ToCBOR Int64 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Int64 -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Int64 -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Int64] -> Size

ToCBOR Word16 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Word16 -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Word16 -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Word16] -> Size

ToCBOR Word32 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Word32 -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Word32 -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Word32] -> Size

ToCBOR Word64 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Word64 -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Word64 -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Word64] -> Size

ToCBOR Word8 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Word8 -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Word8 -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Word8] -> Size

ToCBOR ByteString 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: ByteString -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ByteString -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ByteString] -> Size

ToCBOR ByteString 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: ByteString -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ByteString -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ByteString] -> Size

ToCBOR ShortByteString 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: ShortByteString -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ShortByteString -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ShortByteString] -> Size

ToCBOR Certificate 
Instance details

Defined in Cardano.Api.Certificate

Methods

toCBOR :: Certificate -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Certificate -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Certificate] -> Size

ToCBOR OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

Methods

toCBOR :: OperationalCertificate -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy OperationalCertificate -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [OperationalCertificate] -> Size

ToCBOR OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

ToCBOR CostModel 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBOR :: CostModel -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy CostModel -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CostModel] -> Size

ToCBOR ExecutionUnitPrices 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBOR :: ExecutionUnitPrices -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ExecutionUnitPrices -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ExecutionUnitPrices] -> Size

ToCBOR PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBOR :: PraosNonce -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy PraosNonce -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PraosNonce] -> Size

ToCBOR ProtocolParametersUpdate 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBOR :: ProtocolParametersUpdate -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ProtocolParametersUpdate -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ProtocolParametersUpdate] -> Size

ToCBOR UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toCBOR :: UpdateProposal -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy UpdateProposal -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [UpdateProposal] -> Size

ToCBOR AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

Methods

toCBOR :: AnyPlutusScriptVersion -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy AnyPlutusScriptVersion -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AnyPlutusScriptVersion] -> Size

ToCBOR ExecutionUnits 
Instance details

Defined in Cardano.Api.Script

Methods

toCBOR :: ExecutionUnits -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ExecutionUnits -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ExecutionUnits] -> Size

ToCBOR ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toCBOR :: ScriptData -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ScriptData -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ScriptData] -> Size

ToCBOR ScriptValidity 
Instance details

Defined in Cardano.Api.TxBody

Methods

toCBOR :: ScriptValidity -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ScriptValidity -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ScriptValidity] -> Size

ToCBOR TxId Source # 
Instance details

Defined in Hydra.Cardano.Api.TxId

Methods

toCBOR :: TxId -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxId -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxId] -> Size

ToCBOR Lovelace 
Instance details

Defined in Cardano.Api.Value

Methods

toCBOR :: Lovelace -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Lovelace -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Lovelace] -> Size

ToCBOR Proof 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

toCBOR :: Proof -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Proof -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Proof] -> Size

ToCBOR SignKey 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

toCBOR :: SignKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SignKey -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SignKey] -> Size

ToCBOR VerKey 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

toCBOR :: VerKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy VerKey -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerKey] -> Size

ToCBOR RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

toCBOR :: RedeemVerificationKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy RedeemVerificationKey -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [RedeemVerificationKey] -> Size

ToCBOR SigningKey 
Instance details

Defined in Cardano.Crypto.Signing.SigningKey

Methods

toCBOR :: SigningKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SigningKey -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey] -> Size

ToCBOR VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Methods

toCBOR :: VerificationKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy VerificationKey -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey] -> Size

ToCBOR AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

Methods

toCBOR :: AlonzoGenesis -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy AlonzoGenesis -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AlonzoGenesis] -> Size

ToCBOR FailureDescription 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

Methods

toCBOR :: FailureDescription -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy FailureDescription -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [FailureDescription] -> Size

ToCBOR TagMismatchDescription 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

Methods

toCBOR :: TagMismatchDescription -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TagMismatchDescription -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TagMismatchDescription] -> Size

ToCBOR CostModel 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toCBOR :: CostModel -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy CostModel -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CostModel] -> Size

ToCBOR CostModels 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toCBOR :: CostModels -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy CostModels -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CostModels] -> Size

ToCBOR ExUnits 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toCBOR :: ExUnits -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ExUnits -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ExUnits] -> Size

ToCBOR Prices 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toCBOR :: Prices -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Prices -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Prices] -> Size

ToCBOR Tag 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toCBOR :: Tag -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Tag -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Tag] -> Size

ToCBOR IsValid 
Instance details

Defined in Cardano.Ledger.Alonzo.Tx

Methods

toCBOR :: IsValid -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy IsValid -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [IsValid] -> Size

ToCBOR PlutusDebug 
Instance details

Defined in Cardano.Ledger.Alonzo.TxInfo

Methods

toCBOR :: PlutusDebug -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy PlutusDebug -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PlutusDebug] -> Size

ToCBOR RdmrPtr 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWitness

Methods

toCBOR :: RdmrPtr -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy RdmrPtr -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [RdmrPtr] -> Size

ToCBOR BlockSignature 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toCBOR :: BlockSignature -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy BlockSignature -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BlockSignature] -> Size

ToCBOR ToSign 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toCBOR :: ToSign -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ToSign -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ToSign] -> Size

ToCBOR HDAddressPayload 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

toCBOR :: HDAddressPayload -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy HDAddressPayload -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [HDAddressPayload] -> Size

ToCBOR AddrSpendingData 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

toCBOR :: AddrSpendingData -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy AddrSpendingData -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AddrSpendingData] -> Size

ToCBOR AddrType 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

toCBOR :: AddrType -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy AddrType -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AddrType] -> Size

ToCBOR Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toCBOR :: Address -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Address -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Address] -> Size

ToCBOR Address' 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toCBOR :: Address' -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Address' -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Address'] -> Size

ToCBOR KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

Methods

toCBOR :: KeyHash -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy KeyHash -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [KeyHash] -> Size

ToCBOR NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Methods

toCBOR :: NetworkMagic -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy NetworkMagic -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [NetworkMagic] -> Size

ToCBOR Certificate 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

toCBOR :: Certificate -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Certificate -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Certificate] -> Size

ToCBOR Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

Methods

toCBOR :: Config -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Config -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Config] -> Size

ToCBOR EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

toCBOR :: EpochSlots -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy EpochSlots -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [EpochSlots] -> Size

ToCBOR Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toCBOR :: Tx -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Tx -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Tx] -> Size

ToCBOR TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toCBOR :: TxIn -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxIn -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxIn] -> Size

ToCBOR TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toCBOR :: TxOut -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxOut -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxOut] -> Size

ToCBOR TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

toCBOR :: TxAux -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxAux -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxAux] -> Size

ToCBOR TxInWitness 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toCBOR :: TxInWitness -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxInWitness -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxInWitness] -> Size

ToCBOR TxSigData 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toCBOR :: TxSigData -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxSigData -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxSigData] -> Size

ToCBOR Proposal 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toCBOR :: Proposal -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Proposal -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Proposal] -> Size

ToCBOR ProposalBody 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toCBOR :: ProposalBody -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ProposalBody -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ProposalBody] -> Size

ToCBOR ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Methods

toCBOR :: ProtocolVersion -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ProtocolVersion -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ProtocolVersion] -> Size

ToCBOR SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

toCBOR :: SoftwareVersion -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SoftwareVersion -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SoftwareVersion] -> Size

ToCBOR SoftwareVersionError 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

toCBOR :: SoftwareVersionError -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SoftwareVersionError -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SoftwareVersionError] -> Size

ToCBOR Vote 
Instance details

Defined in Cardano.Chain.Update.Vote

Methods

toCBOR :: Vote -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Vote -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Vote] -> Size

ToCBOR ActiveSlotCoeff 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: ActiveSlotCoeff -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ActiveSlotCoeff -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ActiveSlotCoeff] -> Size

ToCBOR CertIx 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: CertIx -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy CertIx -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CertIx] -> Size

ToCBOR DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: DnsName -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy DnsName -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [DnsName] -> Size

ToCBOR Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: Network -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Network -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Network] -> Size

ToCBOR NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: NonNegativeInterval -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy NonNegativeInterval -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [NonNegativeInterval] -> Size

ToCBOR Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: Nonce -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Nonce -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Nonce] -> Size

ToCBOR Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: Port -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Port -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Port] -> Size

ToCBOR PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: PositiveInterval -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy PositiveInterval -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PositiveInterval] -> Size

ToCBOR PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: PositiveUnitInterval -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy PositiveUnitInterval -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PositiveUnitInterval] -> Size

ToCBOR ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: ProtVer -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ProtVer -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ProtVer] -> Size

ToCBOR Seed 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: Seed -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Seed -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Seed] -> Size

ToCBOR TxIx 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: TxIx -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxIx -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxIx] -> Size

ToCBOR UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: UnitInterval -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy UnitInterval -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [UnitInterval] -> Size

ToCBOR Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: Url -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Url -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Url] -> Size

ToCBOR Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toCBOR :: Coin -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Coin -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Coin] -> Size

ToCBOR DeltaCoin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toCBOR :: DeltaCoin -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy DeltaCoin -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [DeltaCoin] -> Size

ToCBOR Ptr 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toCBOR :: Ptr -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Ptr -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Ptr] -> Size

ToCBOR ChainCode 
Instance details

Defined in Cardano.Ledger.Keys.Bootstrap

Methods

toCBOR :: ChainCode -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ChainCode -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ChainCode] -> Size

ToCBOR Language 
Instance details

Defined in Cardano.Ledger.Language

Methods

toCBOR :: Language -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Language -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Language] -> Size

ToCBOR RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

toCBOR :: RewardInfoPool -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy RewardInfoPool -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [RewardInfoPool] -> Size

ToCBOR RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Methods

toCBOR :: RewardParams -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy RewardParams -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [RewardParams] -> Size

ToCBOR MIRPot 
Instance details

Defined in Cardano.Ledger.Shelley.Delegation.Certificates

Methods

toCBOR :: MIRPot -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy MIRPot -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [MIRPot] -> Size

ToCBOR AccountState 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toCBOR :: AccountState -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy AccountState -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AccountState] -> Size

ToCBOR Metadatum 
Instance details

Defined in Cardano.Ledger.Shelley.Metadata

Methods

toCBOR :: Metadatum -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Metadatum -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Metadatum] -> Size

ToCBOR PoolMetadata 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

toCBOR :: PoolMetadata -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy PoolMetadata -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PoolMetadata] -> Size

ToCBOR SizeOfPoolOwners 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

toCBOR :: SizeOfPoolOwners -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SizeOfPoolOwners -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SizeOfPoolOwners] -> Size

ToCBOR SizeOfPoolRelays 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

toCBOR :: SizeOfPoolRelays -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SizeOfPoolRelays -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SizeOfPoolRelays] -> Size

ToCBOR StakePoolRelay 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

toCBOR :: StakePoolRelay -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy StakePoolRelay -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [StakePoolRelay] -> Size

ToCBOR Likelihood 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

toCBOR :: Likelihood -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Likelihood -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Likelihood] -> Size

ToCBOR LogWeight 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

toCBOR :: LogWeight -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy LogWeight -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [LogWeight] -> Size

ToCBOR PerformanceEstimate 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

toCBOR :: PerformanceEstimate -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy PerformanceEstimate -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PerformanceEstimate] -> Size

ToCBOR Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toCBOR :: Desirability -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Desirability -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Desirability] -> Size

ToCBOR RewardType 
Instance details

Defined in Cardano.Ledger.Shelley.Rewards

Methods

toCBOR :: RewardType -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy RewardType -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [RewardType] -> Size

ToCBOR AssetName 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toCBOR :: AssetName -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy AssetName -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AssetName] -> Size

ToCBOR ValidityInterval 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Methods

toCBOR :: ValidityInterval -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ValidityInterval -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ValidityInterval] -> Size

ToCBOR RawSeed 
Instance details

Defined in Test.Cardano.Ledger.Shelley.Utils

Methods

toCBOR :: RawSeed -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy RawSeed -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [RawSeed] -> Size

ToCBOR KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

toCBOR :: KESPeriod -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy KESPeriod -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [KESPeriod] -> Size

ToCBOR BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

toCBOR :: BlockNo -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy BlockNo -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BlockNo] -> Size

ToCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOR :: EpochNo -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy EpochNo -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [EpochNo] -> Size

ToCBOR EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOR :: EpochSize -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy EpochSize -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [EpochSize] -> Size

ToCBOR SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOR :: SlotNo -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SlotNo -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SlotNo] -> Size

ToCBOR SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

toCBOR :: SystemStart -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SystemStart -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SystemStart] -> Size

ToCBOR ByronHash 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.Block

Methods

toCBOR :: ByronHash -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ByronHash -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ByronHash] -> Size

ToCBOR InputVRF 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.VRF

Methods

toCBOR :: InputVRF -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy InputVRF -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [InputVRF] -> Size

ToCBOR Text 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Text -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Text -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Text] -> Size

ToCBOR NominalDiffTime 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: NominalDiffTime -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy NominalDiffTime -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [NominalDiffTime] -> Size

ToCBOR UTCTime 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: UTCTime -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy UTCTime -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [UTCTime] -> Size

ToCBOR Integer 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Integer -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Integer -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Integer] -> Size

ToCBOR Natural 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Natural -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Natural -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Natural] -> Size

ToCBOR () 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: () -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy () -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [()] -> Size

ToCBOR Bool 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Bool -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Bool -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Bool] -> Size

ToCBOR Float 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Float -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Float -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Float] -> Size

ToCBOR Int 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Int -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Int -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Int] -> Size

ToCBOR Word 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Word -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Word -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Word] -> Size

ToCBOR a => ToCBOR (Ratio a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Ratio a -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Ratio a) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Ratio a] -> Size

ToCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: Hash ByronKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKey] -> Size

ToCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: Hash ByronKeyLegacy -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKeyLegacy) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKeyLegacy] -> Size

ToCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: Hash KesKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash KesKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash KesKey] -> Size

ToCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: Hash VrfKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash VrfKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash VrfKey] -> Size

ToCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisDelegateExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateExtendedKey] -> Size

ToCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisDelegateKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateKey] -> Size

ToCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisExtendedKey] -> Size

ToCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisKey] -> Size

ToCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash GenesisUTxOKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisUTxOKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisUTxOKey] -> Size

ToCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash PaymentExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash PaymentExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash PaymentExtendedKey] -> Size

ToCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash PaymentKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash PaymentKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash PaymentKey] -> Size

ToCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakeExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeExtendedKey] -> Size

ToCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakeKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeKey] -> Size

ToCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: Hash StakePoolKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakePoolKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakePoolKey] -> Size

ToCBOR (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: SigningKey ByronKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey ByronKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey ByronKey] -> Size

ToCBOR (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: SigningKey ByronKeyLegacy -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey ByronKeyLegacy) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey ByronKeyLegacy] -> Size

ToCBOR (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: SigningKey KesKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey KesKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey KesKey] -> Size

ToCBOR (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: SigningKey VrfKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey VrfKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey VrfKey] -> Size

ToCBOR (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisDelegateExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateExtendedKey] -> Size

ToCBOR (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisDelegateKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateKey] -> Size

ToCBOR (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisExtendedKey] -> Size

ToCBOR (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisKey] -> Size

ToCBOR (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey GenesisUTxOKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisUTxOKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisUTxOKey] -> Size

ToCBOR (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey PaymentExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentExtendedKey] -> Size

ToCBOR (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey PaymentKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentKey] -> Size

ToCBOR (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey StakeExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakeExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakeExtendedKey] -> Size

ToCBOR (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey StakeKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakeKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakeKey] -> Size

ToCBOR (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: SigningKey StakePoolKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakePoolKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakePoolKey] -> Size

ToCBOR (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: VerificationKey ByronKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey ByronKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey ByronKey] -> Size

ToCBOR (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

toCBOR :: VerificationKey ByronKeyLegacy -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey ByronKeyLegacy) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey ByronKeyLegacy] -> Size

ToCBOR (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: VerificationKey KesKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey KesKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey KesKey] -> Size

ToCBOR (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

toCBOR :: VerificationKey VrfKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey VrfKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey VrfKey] -> Size

ToCBOR (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToCBOR (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisDelegateKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisDelegateKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisDelegateKey] -> Size

ToCBOR (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisExtendedKey] -> Size

ToCBOR (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisKey] -> Size

ToCBOR (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey GenesisUTxOKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey GenesisUTxOKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey GenesisUTxOKey] -> Size

ToCBOR (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey PaymentExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey PaymentExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey PaymentExtendedKey] -> Size

ToCBOR (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey PaymentKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey PaymentKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey PaymentKey] -> Size

ToCBOR (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey StakeExtendedKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakeExtendedKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakeExtendedKey] -> Size

ToCBOR (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey StakeKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakeKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakeKey] -> Size

ToCBOR (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toCBOR :: VerificationKey StakePoolKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey StakePoolKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey StakePoolKey] -> Size

HasTypeProxy lang => ToCBOR (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

Methods

toCBOR :: PlutusScript lang -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PlutusScript lang) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PlutusScript lang] -> Size

Typeable xs => ToCBOR (LengthOf xs) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: LengthOf xs -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (LengthOf xs) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [LengthOf xs] -> Size

ToCBOR (SigDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

toCBOR :: SigDSIGN Ed25519DSIGN -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigDSIGN Ed25519DSIGN) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigDSIGN Ed25519DSIGN] -> Size

ToCBOR (SigDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

toCBOR :: SigDSIGN MockDSIGN -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigDSIGN MockDSIGN) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigDSIGN MockDSIGN] -> Size

ToCBOR (SignKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

toCBOR :: SignKeyDSIGN Ed25519DSIGN -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SignKeyDSIGN Ed25519DSIGN) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SignKeyDSIGN Ed25519DSIGN] -> Size

ToCBOR (SignKeyDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

toCBOR :: SignKeyDSIGN MockDSIGN -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SignKeyDSIGN MockDSIGN) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SignKeyDSIGN MockDSIGN] -> Size

ToCBOR (VerKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

toCBOR :: VerKeyDSIGN Ed25519DSIGN -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerKeyDSIGN Ed25519DSIGN) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerKeyDSIGN Ed25519DSIGN] -> Size

ToCBOR (VerKeyDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

toCBOR :: VerKeyDSIGN MockDSIGN -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerKeyDSIGN MockDSIGN) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerKeyDSIGN MockDSIGN] -> Size

(KESAlgorithm d, HashAlgorithm h) => ToCBOR (SigKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Methods

toCBOR :: SigKES (SumKES h d) -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigKES (SumKES h d)) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigKES (SumKES h d)] -> Size

(KESAlgorithm d, HashAlgorithm h) => ToCBOR (SignKeyKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Methods

toCBOR :: SignKeyKES (SumKES h d) -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SignKeyKES (SumKES h d)) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SignKeyKES (SumKES h d)] -> Size

(KESAlgorithm d, HashAlgorithm h) => ToCBOR (VerKeyKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Methods

toCBOR :: VerKeyKES (SumKES h d) -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerKeyKES (SumKES h d)) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerKeyKES (SumKES h d)] -> Size

ToCBOR (CertVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

toCBOR :: CertVRF PraosVRF -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (CertVRF PraosVRF) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CertVRF PraosVRF] -> Size

ToCBOR (CertVRF FakeVRF) 
Instance details

Defined in Test.Cardano.Crypto.VRF.Fake

Methods

toCBOR :: CertVRF FakeVRF -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (CertVRF FakeVRF) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CertVRF FakeVRF] -> Size

Typeable v => ToCBOR (OutputVRF v) 
Instance details

Defined in Cardano.Crypto.VRF.Class

Methods

toCBOR :: OutputVRF v -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (OutputVRF v) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [OutputVRF v] -> Size

ToCBOR (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

toCBOR :: SignKeyVRF PraosVRF -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SignKeyVRF PraosVRF) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SignKeyVRF PraosVRF] -> Size

ToCBOR (SignKeyVRF FakeVRF) 
Instance details

Defined in Test.Cardano.Crypto.VRF.Fake

Methods

toCBOR :: SignKeyVRF FakeVRF -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SignKeyVRF FakeVRF) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SignKeyVRF FakeVRF] -> Size

ToCBOR (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

toCBOR :: VerKeyVRF PraosVRF -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerKeyVRF PraosVRF) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerKeyVRF PraosVRF] -> Size

ToCBOR (VerKeyVRF FakeVRF) 
Instance details

Defined in Test.Cardano.Crypto.VRF.Fake

Methods

toCBOR :: VerKeyVRF FakeVRF -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerKeyVRF FakeVRF) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerKeyVRF FakeVRF] -> Size

Typeable era => ToCBOR (AlonzoAuxiliaryData era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Data

Methods

toCBOR :: AlonzoAuxiliaryData era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (AlonzoAuxiliaryData era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AlonzoAuxiliaryData era] -> Size

(Typeable era, Script era ~ AlonzoScript era, ToCBOR (Script era), Typeable (Crypto era)) => ToCBOR (AuxiliaryDataRaw era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Data

Methods

toCBOR :: AuxiliaryDataRaw era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (AuxiliaryDataRaw era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AuxiliaryDataRaw era] -> Size

Typeable era => ToCBOR (BinaryData era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Data

Methods

toCBOR :: BinaryData era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BinaryData era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BinaryData era] -> Size

Typeable era => ToCBOR (Data era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Data

Methods

toCBOR :: Data era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Data era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Data era] -> Size

Era era => ToCBOR (Datum era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Data

Methods

toCBOR :: Datum era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Datum era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Datum era] -> Size

Era era => ToCBOR (PParams era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

toCBOR :: PParams era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PParams era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PParams era] -> Size

Era era => ToCBOR (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

toCBOR :: PParamsUpdate era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PParamsUpdate era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PParamsUpdate era] -> Size

(Typeable era, ToCBOR (ShelleyBbodyPredFailure era)) => ToCBOR (AlonzoBbodyPredFailure era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

Methods

toCBOR :: AlonzoBbodyPredFailure era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (AlonzoBbodyPredFailure era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AlonzoBbodyPredFailure era] -> Size

(Era era, ToCBOR (TxOut era), ToCBOR (Value era), ToCBOR (PredicateFailure (EraRule "UTXOS" era))) => ToCBOR (AlonzoUtxoPredFailure era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxo

Methods

toCBOR :: AlonzoUtxoPredFailure era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (AlonzoUtxoPredFailure era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AlonzoUtxoPredFailure era] -> Size

(Era era, ToCBOR (PredicateFailure (EraRule "PPUP" era)), Show (TxOut era)) => ToCBOR (AlonzoUtxosPredFailure era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

Methods

toCBOR :: AlonzoUtxosPredFailure era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (AlonzoUtxosPredFailure era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AlonzoUtxosPredFailure era] -> Size

(Era era, ToCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (AuxiliaryData era), ToCBOR (Script era)) => ToCBOR (AlonzoUtxowPredFailure era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxow

Methods

toCBOR :: AlonzoUtxowPredFailure era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (AlonzoUtxowPredFailure era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AlonzoUtxowPredFailure era] -> Size

(Typeable (Crypto era), Typeable era) => ToCBOR (Script era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toCBOR :: Script era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Script era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Script era] -> Size

(Era era, ToCBOR (TxBody era), ToCBOR (AuxiliaryData era)) => ToCBOR (AlonzoTx era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Tx

Methods

toCBOR :: AlonzoTx era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (AlonzoTx era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AlonzoTx era] -> Size

Crypto c => ToCBOR (ScriptPurpose c) 
Instance details

Defined in Cardano.Ledger.Alonzo.Tx

Methods

toCBOR :: ScriptPurpose c -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ScriptPurpose c) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ScriptPurpose c] -> Size

Typeable era => ToCBOR (AlonzoTxBody era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

toCBOR :: AlonzoTxBody era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (AlonzoTxBody era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AlonzoTxBody era] -> Size

(Era era, Val (Value era), DecodeNonNegative (Value era)) => ToCBOR (AlonzoTxOut era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

toCBOR :: AlonzoTxOut era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (AlonzoTxOut era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AlonzoTxOut era] -> Size

Crypto crypto => ToCBOR (TranslationError crypto) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxInfo

Methods

toCBOR :: TranslationError crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (TranslationError crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TranslationError crypto] -> Size

Crypto crypto => ToCBOR (TxOutSource crypto) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxInfo

Methods

toCBOR :: TxOutSource crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (TxOutSource crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxOutSource crypto] -> Size

Typeable era => ToCBOR (Redeemers era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWitness

Methods

toCBOR :: Redeemers era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Redeemers era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Redeemers era] -> Size

Typeable era => ToCBOR (TxDats era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWitness

Methods

toCBOR :: TxDats era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (TxDats era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxDats era] -> Size

Typeable era => ToCBOR (TxWitness era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWitness

Methods

toCBOR :: TxWitness era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (TxWitness era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxWitness era] -> Size

Era era => ToCBOR (BabbagePParams era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

toCBOR :: BabbagePParams era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BabbagePParams era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BabbagePParams era] -> Size

Era era => ToCBOR (BabbagePParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

toCBOR :: BabbagePParamsUpdate era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BabbagePParamsUpdate era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BabbagePParamsUpdate era] -> Size

(Era era, ToCBOR (TxOut era), ToCBOR (Value era), ToCBOR (PredicateFailure (EraRule "UTXOS" era)), ToCBOR (PredicateFailure (EraRule "UTXO" era)), ToCBOR (Script era), Typeable (AuxiliaryData era)) => ToCBOR (BabbageUtxoPredFailure era) 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

Methods

toCBOR :: BabbageUtxoPredFailure era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BabbageUtxoPredFailure era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BabbageUtxoPredFailure era] -> Size

(Era era, ToCBOR (TxOut era), ToCBOR (Value era), ToCBOR (PredicateFailure (EraRule "UTXOS" era)), ToCBOR (PredicateFailure (EraRule "UTXO" era)), ToCBOR (Script era), Typeable (AuxiliaryData era)) => ToCBOR (BabbageUtxowPredFailure era) 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

Methods

toCBOR :: BabbageUtxowPredFailure era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BabbageUtxowPredFailure era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BabbageUtxowPredFailure era] -> Size

Typeable era => ToCBOR (BabbageTxBody era) 
Instance details

Defined in Cardano.Ledger.Babbage.TxBody

Methods

toCBOR :: BabbageTxBody era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BabbageTxBody era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BabbageTxBody era] -> Size

(Era era, Val (Value era), ToCBOR (Value era), ToCBOR (Script era)) => ToCBOR (BabbageTxOut era) 
Instance details

Defined in Cardano.Ledger.Babbage.TxBody

Methods

toCBOR :: BabbageTxOut era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BabbageTxOut era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BabbageTxOut era] -> Size

ToCBOR (Attributes AddrAttributes) 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

toCBOR :: Attributes AddrAttributes -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Attributes AddrAttributes) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Attributes AddrAttributes] -> Size

Crypto crypto => ToCBOR (Addr crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toCBOR :: Addr crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Addr crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Addr crypto] -> Size

Crypto crypto => ToCBOR (RewardAcnt crypto) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toCBOR :: RewardAcnt crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (RewardAcnt crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [RewardAcnt crypto] -> Size

Crypto crypto => ToCBOR (BlocksMade crypto) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: BlocksMade crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BlocksMade crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BlocksMade crypto] -> Size

ToCBOR (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toCBOR :: CompactForm Coin -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (CompactForm Coin) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CompactForm Coin] -> Size

ToCBOR (CompactForm DeltaCoin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toCBOR :: CompactForm DeltaCoin -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (CompactForm DeltaCoin) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CompactForm DeltaCoin] -> Size

Crypto crypto => ToCBOR (CompactForm (MaryValue crypto)) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toCBOR :: CompactForm (MaryValue crypto) -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (CompactForm (MaryValue crypto)) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CompactForm (MaryValue crypto)] -> Size

Crypto crypto => ToCBOR (GenesisCredential crypto) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toCBOR :: GenesisCredential crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (GenesisCredential crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [GenesisCredential crypto] -> Size

Crypto crypto => ToCBOR (ScriptHash crypto) 
Instance details

Defined in Cardano.Ledger.Hashes

Methods

toCBOR :: ScriptHash crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ScriptHash crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ScriptHash crypto] -> Size

Crypto crypto => ToCBOR (GenDelegPair crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

toCBOR :: GenDelegPair crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (GenDelegPair crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [GenDelegPair crypto] -> Size

Crypto crypto => ToCBOR (GenDelegs crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

toCBOR :: GenDelegs crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (GenDelegs crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [GenDelegs crypto] -> Size

Crypto crypto => ToCBOR (BootstrapWitness crypto) 
Instance details

Defined in Cardano.Ledger.Keys.Bootstrap

Methods

toCBOR :: BootstrapWitness crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BootstrapWitness crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BootstrapWitness crypto] -> Size

Crypto crypto => ToCBOR (IndividualPoolStake crypto) 
Instance details

Defined in Cardano.Ledger.PoolDistr

Methods

toCBOR :: IndividualPoolStake crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (IndividualPoolStake crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [IndividualPoolStake crypto] -> Size

Crypto crypto => ToCBOR (PoolDistr crypto) 
Instance details

Defined in Cardano.Ledger.PoolDistr

Methods

toCBOR :: PoolDistr crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PoolDistr crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PoolDistr crypto] -> Size

Crypto crypto => ToCBOR (TxId crypto) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

toCBOR :: TxId crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (TxId crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxId crypto] -> Size

Crypto crypto => ToCBOR (TxIn crypto) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

toCBOR :: TxIn crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (TxIn crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxIn crypto] -> Size

Crypto crypto => ToCBOR (DCert crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Delegation.Certificates

Methods

toCBOR :: DCert crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (DCert crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [DCert crypto] -> Size

Crypto crypto => ToCBOR (MIRCert crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Delegation.Certificates

Methods

toCBOR :: MIRCert crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (MIRCert crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [MIRCert crypto] -> Size

Crypto crypto => ToCBOR (MIRTarget crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Delegation.Certificates

Methods

toCBOR :: MIRTarget crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (MIRTarget crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [MIRTarget crypto] -> Size

Crypto crypto => ToCBOR (SnapShot crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.EpochBoundary

Methods

toCBOR :: SnapShot crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SnapShot crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SnapShot crypto] -> Size

Crypto crypto => ToCBOR (SnapShots crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.EpochBoundary

Methods

toCBOR :: SnapShots crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SnapShots crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SnapShots crypto] -> Size

Crypto crypto => ToCBOR (Stake crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.EpochBoundary

Methods

toCBOR :: Stake crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Stake crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Stake crypto] -> Size

Era era => ToCBOR (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toCBOR :: ShelleyGenesis era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ShelleyGenesis era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ShelleyGenesis era] -> Size

Crypto crypto => ToCBOR (ShelleyGenesisStaking crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toCBOR :: ShelleyGenesisStaking crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ShelleyGenesisStaking crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ShelleyGenesisStaking crypto] -> Size

Crypto crypto => ToCBOR (DPState crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.DPState

Methods

toCBOR :: DPState crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (DPState crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [DPState crypto] -> Size

(Crypto crypto, ToCBOR (InstantaneousRewards crypto)) => ToCBOR (DState crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.DPState

Methods

toCBOR :: DState crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (DState crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [DState crypto] -> Size

Crypto crypto => ToCBOR (FutureGenDeleg crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.DPState

Methods

toCBOR :: FutureGenDeleg crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (FutureGenDeleg crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [FutureGenDeleg crypto] -> Size

Crypto crypto => ToCBOR (InstantaneousRewards crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.DPState

Methods

toCBOR :: InstantaneousRewards crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (InstantaneousRewards crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [InstantaneousRewards crypto] -> Size

Crypto crypto => ToCBOR (PState crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.DPState

Methods

toCBOR :: PState crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PState crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PState crypto] -> Size

(Era era, ToCBOR (TxOut era), ToCBOR (PParams era), ToCBOR (State (EraRule "PPUP" era))) => ToCBOR (EpochState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toCBOR :: EpochState era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (EpochState era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [EpochState era] -> Size

Crypto crypto => ToCBOR (IncrementalStake crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toCBOR :: IncrementalStake crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (IncrementalStake crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [IncrementalStake crypto] -> Size

(Era era, ToCBOR (TxOut era), ToCBOR (State (EraRule "PPUP" era))) => ToCBOR (LedgerState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toCBOR :: LedgerState era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (LedgerState era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [LedgerState era] -> Size

(Era era, ToCBOR (TxOut era), ToCBOR (PParams era), ToCBOR (State (EraRule "PPUP" era)), ToCBOR (StashedAVVMAddresses era)) => ToCBOR (NewEpochState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toCBOR :: NewEpochState era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (NewEpochState era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [NewEpochState era] -> Size

(Era era, ToCBOR (TxOut era), ToCBOR (State (EraRule "PPUP" era))) => ToCBOR (UTxOState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toCBOR :: UTxOState era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (UTxOState era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [UTxOState era] -> Size

Typeable era => ToCBOR (Metadata era) 
Instance details

Defined in Cardano.Ledger.Shelley.Metadata

Methods

toCBOR :: Metadata era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Metadata era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Metadata era] -> Size

(Era era, ToCBOR (PParamsUpdate era)) => ToCBOR (PPUPState era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toCBOR :: PPUPState era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PPUPState era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PPUPState era] -> Size

Era era => ToCBOR (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toCBOR :: PParamsUpdate era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PParamsUpdate era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PParamsUpdate era] -> Size

(Era era, ToCBOR (PParamsUpdate era)) => ToCBOR (ProposedPPUpdates era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toCBOR :: ProposedPPUpdates era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ProposedPPUpdates era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ProposedPPUpdates era] -> Size

Era era => ToCBOR (ShelleyPParams era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toCBOR :: ShelleyPParams era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ShelleyPParams era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ShelleyPParams era] -> Size

(Era era, ToCBOR (PParamsUpdate era)) => ToCBOR (Update era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toCBOR :: Update era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Update era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Update era] -> Size

Crypto crypto => ToCBOR (PoolParams crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.PoolParams

Methods

toCBOR :: PoolParams crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PoolParams crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PoolParams crypto] -> Size

Crypto crypto => ToCBOR (NonMyopic crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

toCBOR :: NonMyopic crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (NonMyopic crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [NonMyopic crypto] -> Size

Crypto crypto => ToCBOR (RewardProvenance crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toCBOR :: RewardProvenance crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (RewardProvenance crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [RewardProvenance crypto] -> Size

Crypto crypto => ToCBOR (RewardProvenancePool crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Methods

toCBOR :: RewardProvenancePool crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (RewardProvenancePool crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [RewardProvenancePool crypto] -> Size

Crypto crypto => ToCBOR (FreeVars crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

toCBOR :: FreeVars crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (FreeVars crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [FreeVars crypto] -> Size

Crypto c => ToCBOR (Pulser c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

toCBOR :: Pulser c -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Pulser c) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Pulser c] -> Size

Crypto crypto => ToCBOR (PulsingRewUpdate crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

toCBOR :: PulsingRewUpdate crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PulsingRewUpdate crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PulsingRewUpdate crypto] -> Size

Crypto c => ToCBOR (RewardAns c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

toCBOR :: RewardAns c -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (RewardAns c) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [RewardAns c] -> Size

Crypto crypto => ToCBOR (RewardSnapShot crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

toCBOR :: RewardSnapShot crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (RewardSnapShot crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [RewardSnapShot crypto] -> Size

Crypto crypto => ToCBOR (RewardUpdate crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

toCBOR :: RewardUpdate crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (RewardUpdate crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [RewardUpdate crypto] -> Size

Crypto crypto => ToCBOR (LeaderOnlyReward crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Rewards

Methods

toCBOR :: LeaderOnlyReward crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (LeaderOnlyReward crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [LeaderOnlyReward crypto] -> Size

Crypto crypto => ToCBOR (PoolRewardInfo crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Rewards

Methods

toCBOR :: PoolRewardInfo crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PoolRewardInfo crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PoolRewardInfo crypto] -> Size

Crypto crypto => ToCBOR (Reward crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Rewards

Methods

toCBOR :: Reward crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Reward crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Reward crypto] -> Size

(Era era, Typeable (Script era), Typeable (AuxiliaryData era), ToCBOR (PredicateFailure (EraRule "UTXO" era))) => ToCBOR (ShelleyUtxowPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxow

Methods

toCBOR :: ShelleyUtxowPredFailure era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ShelleyUtxowPredFailure era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ShelleyUtxowPredFailure era] -> Size

Typeable crypto => ToCBOR (MultiSig crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

Methods

toCBOR :: MultiSig crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (MultiSig crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [MultiSig crypto] -> Size

Typeable era => ToCBOR (ShelleyTx era) 
Instance details

Defined in Cardano.Ledger.Shelley.Tx

Methods

toCBOR :: ShelleyTx era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ShelleyTx era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ShelleyTx era] -> Size

Era era => ToCBOR (TxBody era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

toCBOR :: TxBody era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (TxBody era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxBody era] -> Size

(Era era, ToCBOR (PParamsUpdate era), ToCBOR (CompactForm (Value era))) => ToCBOR (TxBodyRaw era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

toCBOR :: TxBodyRaw era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (TxBodyRaw era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxBodyRaw era] -> Size

(Era era, ToCBOR (CompactForm (Value era))) => ToCBOR (TxOut era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

toCBOR :: TxOut era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (TxOut era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxOut era] -> Size

Crypto crypto => ToCBOR (Wdrl crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

toCBOR :: Wdrl crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Wdrl crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Wdrl crypto] -> Size

(Era era, ToCBOR (TxOut era)) => ToCBOR (UTxO era) 
Instance details

Defined in Cardano.Ledger.Shelley.UTxO

Methods

toCBOR :: UTxO era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (UTxO era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [UTxO era] -> Size

Crypto crypto => ToCBOR (CompactValue crypto) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toCBOR :: CompactValue crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (CompactValue crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CompactValue crypto] -> Size

Crypto crypto => ToCBOR (MaryValue crypto) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toCBOR :: MaryValue crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (MaryValue crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [MaryValue crypto] -> Size

Crypto crypto => ToCBOR (PolicyID crypto) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toCBOR :: PolicyID crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PolicyID crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PolicyID crypto] -> Size

Typeable era => ToCBOR (MAAuxiliaryData era) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.AuxiliaryData

Methods

toCBOR :: MAAuxiliaryData era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (MAAuxiliaryData era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [MAAuxiliaryData era] -> Size

(Typeable era, Crypto (Crypto era), ToCBOR (Value era), ToCBOR (TxOut era), ToCBOR (UTxOState era), ToCBOR (PredicateFailure (EraRule "PPUP" era))) => ToCBOR (ShelleyMAUtxoPredFailure era) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Rules.Utxo

Methods

toCBOR :: ShelleyMAUtxoPredFailure era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ShelleyMAUtxoPredFailure era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ShelleyMAUtxoPredFailure era] -> Size

Typeable crypto => ToCBOR (Timelock crypto) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Methods

toCBOR :: Timelock crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Timelock crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Timelock crypto] -> Size

Typeable era => ToCBOR (MATxBody era) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Methods

toCBOR :: MATxBody era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (MATxBody era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [MATxBody era] -> Size

Crypto crypto => ToCBOR (BHBody crypto) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Methods

toCBOR :: BHBody crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BHBody crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BHBody crypto] -> Size

Crypto crypto => ToCBOR (BHeader crypto) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Methods

toCBOR :: BHeader crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BHeader crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BHeader crypto] -> Size

Crypto crypto => ToCBOR (HashHeader crypto) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Methods

toCBOR :: HashHeader crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (HashHeader crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [HashHeader crypto] -> Size

Crypto crypto => ToCBOR (LastAppliedBlock crypto) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Methods

toCBOR :: LastAppliedBlock crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (LastAppliedBlock crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [LastAppliedBlock crypto] -> Size

Crypto crypto => ToCBOR (PrevHash crypto) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Methods

toCBOR :: PrevHash crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PrevHash crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PrevHash crypto] -> Size

Crypto crypto => ToCBOR (OCert crypto) 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

toCBOR :: OCert crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (OCert crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [OCert crypto] -> Size

Crypto crypto => ToCBOR (PrtclState crypto) 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Methods

toCBOR :: PrtclState crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PrtclState crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PrtclState crypto] -> Size

(Serialise t, Typeable t) => ToCBOR (WithOrigin t) 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOR :: WithOrigin t -> Encoding

encodedSizeExpr :: (forall t0. ToCBOR t0 => Proxy t0 -> Size) -> Proxy (WithOrigin t) -> Size

encodedListSizeExpr :: (forall t0. ToCBOR t0 => Proxy t0 -> Size) -> Proxy [WithOrigin t] -> Size

ToCBOR a => ToCBOR (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

toCBOR :: StrictMaybe a -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (StrictMaybe a) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [StrictMaybe a] -> Size

(Ord a, ToCBOR a) => ToCBOR (Set a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Set a -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Set a) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Set a] -> Size

ShelleyCompatible proto era => ToCBOR (Header (ShelleyBlock proto era)) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Block

Methods

toCBOR :: Header (ShelleyBlock proto era) -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Header (ShelleyBlock proto era)) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Header (ShelleyBlock proto era)] -> Size

PraosCrypto c => ToCBOR (PraosState c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos

Methods

toCBOR :: PraosState c -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (PraosState c) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PraosState c] -> Size

Typeable crypto => ToCBOR (Header crypto) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Header

Methods

toCBOR :: Header crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Header crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Header crypto] -> Size

Crypto crypto => ToCBOR (HeaderBody crypto) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Header

Methods

toCBOR :: HeaderBody crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (HeaderBody crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [HeaderBody crypto] -> Size

Crypto crypto => ToCBOR (HeaderRaw crypto) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Header

Methods

toCBOR :: HeaderRaw crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (HeaderRaw crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [HeaderRaw crypto] -> Size

PraosCrypto c => ToCBOR (TPraosState c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.TPraos

Methods

toCBOR :: TPraosState c -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (TPraosState c) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TPraosState c] -> Size

Era era => ToCBOR (CompactGenesis era) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Config

Methods

toCBOR :: CompactGenesis era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (CompactGenesis era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CompactGenesis era] -> Size

Crypto crypto => ToCBOR (StakeSnapshot crypto) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Query

Methods

toCBOR :: StakeSnapshot crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (StakeSnapshot crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [StakeSnapshot crypto] -> Size

Crypto crypto => ToCBOR (StakeSnapshots crypto) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Query

Methods

toCBOR :: StakeSnapshots crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (StakeSnapshots crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [StakeSnapshots crypto] -> Size

Crypto crypto => ToCBOR (ShelleyHash crypto) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Protocol.Abstract

Methods

toCBOR :: ShelleyHash crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ShelleyHash crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ShelleyHash crypto] -> Size

ToCBOR a => ToCBOR (Vector a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Vector a -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Vector a) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Vector a] -> Size

ToCBOR a => ToCBOR (NonEmpty a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: NonEmpty a -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (NonEmpty a) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [NonEmpty a] -> Size

ToCBOR a => ToCBOR (Maybe a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Maybe a -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Maybe a) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Maybe a] -> Size

ToCBOR a => ToCBOR [a] 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: [a] -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [a] -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [[a]] -> Size

(ToCBOR a, ToCBOR b) => ToCBOR (Either a b) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Either a b -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Either a b) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Either a b] -> Size

(HashAlgorithm h, Typeable a) => ToCBOR (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

toCBOR :: Hash h a -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash h a) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash h a] -> Size

(VRFAlgorithm v, Typeable a) => ToCBOR (CertifiedVRF v a) 
Instance details

Defined in Cardano.Crypto.VRF.Class

Methods

toCBOR :: CertifiedVRF v a -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (CertifiedVRF v a) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [CertifiedVRF v a] -> Size

(ToCBOR k, ToCBOR v) => ToCBOR (ListMap k v) 
Instance details

Defined in Data.ListMap

Methods

toCBOR :: ListMap k v -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ListMap k v) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ListMap k v] -> Size

(ToCBOR a, Integral a, Bounded a, Typeable b) => ToCBOR (BoundedRatio b a) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBOR :: BoundedRatio b a -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BoundedRatio b a) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BoundedRatio b a] -> Size

(Typeable kr, Crypto crypto) => ToCBOR (Credential kr crypto) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toCBOR :: Credential kr crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Credential kr crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Credential kr crypto] -> Size

(Crypto crypto, Typeable disc) => ToCBOR (KeyHash disc crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

toCBOR :: KeyHash disc crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (KeyHash disc crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [KeyHash disc crypto] -> Size

(Crypto crypto, Typeable kd) => ToCBOR (VKey kd crypto) 
Instance details

Defined in Cardano.Ledger.Keys

Methods

toCBOR :: VKey kd crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VKey kd crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VKey kd crypto] -> Size

(Typeable kr, Crypto crypto) => ToCBOR (WitVKey kr crypto) 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

Methods

toCBOR :: WitVKey kr crypto -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (WitVKey kr crypto) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [WitVKey kr crypto] -> Size

(Typeable index, Crypto c) => ToCBOR (SafeHash c index) 
Instance details

Defined in Cardano.Ledger.SafeHash

Methods

toCBOR :: SafeHash c index -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SafeHash c index) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SafeHash c index] -> Size

Era era => ToCBOR (WitnessSetHKD Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.Tx

Methods

toCBOR :: WitnessSetHKD Identity era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (WitnessSetHKD Identity era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [WitnessSetHKD Identity era] -> Size

(Ord k, ToCBOR k, ToCBOR v) => ToCBOR (Map k v) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Map k v -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Map k v) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Map k v] -> Size

ShelleyCompatible proto era => ToCBOR (ShelleyBlock proto era) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Block

Methods

toCBOR :: ShelleyBlock proto era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ShelleyBlock proto era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ShelleyBlock proto era] -> Size

(ToCBOR a, ToCBOR b) => ToCBOR (a, b) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: (a, b) -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (a, b) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [(a, b)] -> Size

(Ord a, Ord b, ToCBOR a, ToCBOR b) => ToCBOR (BiMap b a b) 
Instance details

Defined in Data.BiMap

Methods

toCBOR :: BiMap b a b -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (BiMap b a b) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BiMap b a b] -> Size

(Tbor coin, Tbor ptr, Ord ptr, ToCBOR pool) => ToCBOR (Trip coin ptr pool) 
Instance details

Defined in Data.UMap

Methods

toCBOR :: Trip coin ptr pool -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Trip coin ptr pool) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Trip coin ptr pool] -> Size

(Typeable s, ToCBOR a) => ToCBOR (Tagged s a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: Tagged s a -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Tagged s a) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Tagged s a] -> Size

(ToCBOR k, ToCBOR v, Ord k, Vector kv k, Vector vv v, Typeable kv, Typeable vv) => ToCBOR (KVVector kv vv (k, v)) 
Instance details

Defined in Data.VMap.KVVector

Methods

toCBOR :: KVVector kv vv (k, v) -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (KVVector kv vv (k, v)) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [KVVector kv vv (k, v)] -> Size

(ToCBOR a, ToCBOR b, ToCBOR c) => ToCBOR (a, b, c) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: (a, b, c) -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (a, b, c) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [(a, b, c)] -> Size

(Tbor coin, Tbor ptr, Tbor cred, ToCBOR pool, Ord ptr) => ToCBOR (UMap coin cred pool ptr) 
Instance details

Defined in Data.UMap

Methods

toCBOR :: UMap coin cred pool ptr -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (UMap coin cred pool ptr) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [UMap coin cred pool ptr] -> Size

(Typeable kv, Typeable vv, ToCBOR k, ToCBOR v, Ord k, Vector kv k, Vector vv v) => ToCBOR (VMap kv vv k v) 
Instance details

Defined in Data.VMap

Methods

toCBOR :: VMap kv vv k v -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VMap kv vv k v) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VMap kv vv k v] -> Size

(ToCBOR a, ToCBOR b, ToCBOR c, ToCBOR d) => ToCBOR (a, b, c, d) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: (a, b, c, d) -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (a, b, c, d) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [(a, b, c, d)] -> Size

(ToCBOR a, ToCBOR b, ToCBOR c, ToCBOR d, ToCBOR e) => ToCBOR (a, b, c, d, e) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: (a, b, c, d, e) -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (a, b, c, d, e) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [(a, b, c, d, e)] -> Size

(ToCBOR a, ToCBOR b, ToCBOR c, ToCBOR d, ToCBOR e, ToCBOR f, ToCBOR g) => ToCBOR (a, b, c, d, e, f, g) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR :: (a, b, c, d, e, f, g) -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (a, b, c, d, e, f, g) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [(a, b, c, d, e, f, g)] -> Size

newtype EpochSlots #

Constructors

EpochSlots 

Fields

Instances

Instances details
Data EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EpochSlots -> c EpochSlots Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EpochSlots Source #

toConstr :: EpochSlots -> Constr Source #

dataTypeOf :: EpochSlots -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EpochSlots) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EpochSlots) Source #

gmapT :: (forall b. Data b => b -> b) -> EpochSlots -> EpochSlots Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EpochSlots -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EpochSlots -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> EpochSlots -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EpochSlots -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EpochSlots -> m EpochSlots Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EpochSlots -> m EpochSlots Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EpochSlots -> m EpochSlots Source #

Generic EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Associated Types

type Rep EpochSlots :: Type -> Type Source #

Read EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Show EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

FromCBOR EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

fromCBOR :: Decoder s EpochSlots

label :: Proxy EpochSlots -> Text

ToCBOR EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

toCBOR :: EpochSlots -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy EpochSlots -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [EpochSlots] -> Size

Buildable EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

build :: EpochSlots -> Builder

Eq EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Ord EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

NoThunks EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

noThunks :: Context -> EpochSlots -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> EpochSlots -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy EpochSlots -> String

type Rep EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

type Rep EpochSlots = D1 ('MetaData "EpochSlots" "Cardano.Chain.Slotting.EpochSlots" "cardano-ledger-byron-0.1.1.2-BO1IGOkUYL3KSeXUxy4PVK" 'True) (C1 ('MetaCons "EpochSlots" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEpochSlots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

newtype BlockNo #

Constructors

BlockNo 

Fields

Instances

Instances details
Bounded BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Enum BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Generic BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Associated Types

type Rep BlockNo :: Type -> Type Source #

Num BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Show BlockNo 
Instance details

Defined in Cardano.Slotting.Block

FromCBOR BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

fromCBOR :: Decoder s BlockNo

label :: Proxy BlockNo -> Text

ToCBOR BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

toCBOR :: BlockNo -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy BlockNo -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [BlockNo] -> Size

NFData BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

rnf :: BlockNo -> () Source #

Eq BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Ord BlockNo 
Instance details

Defined in Cardano.Slotting.Block

NoThunks BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

noThunks :: Context -> BlockNo -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> BlockNo -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy BlockNo -> String

Serialise BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

encode :: BlockNo -> Encoding

decode :: Decoder s BlockNo

encodeList :: [BlockNo] -> Encoding

decodeList :: Decoder s [BlockNo]

type Rep BlockNo 
Instance details

Defined in Cardano.Slotting.Block

type Rep BlockNo = D1 ('MetaData "BlockNo" "Cardano.Slotting.Block" "cardano-slotting-0.1.0.2-H4ASoDxHSQQ9nYLMQAJRxJ" 'True) (C1 ('MetaCons "BlockNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBlockNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

newtype EpochNo #

Constructors

EpochNo 

Fields

Instances

Instances details
FromJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser EpochNo #

parseJSONList :: Value -> Parser [EpochNo] #

ToJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: EpochNo -> Value #

toEncoding :: EpochNo -> Encoding #

toJSONList :: [EpochNo] -> Value #

toEncodingList :: [EpochNo] -> Encoding #

Enum EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Generic EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep EpochNo :: Type -> Type Source #

Num EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Show EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

FromCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR :: Decoder s EpochNo

label :: Proxy EpochNo -> Text

ToCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOR :: EpochNo -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy EpochNo -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [EpochNo] -> Size

NFData EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

rnf :: EpochNo -> () Source #

Eq EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Ord EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

NoThunks EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

noThunks :: Context -> EpochNo -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> EpochNo -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy EpochNo -> String

Serialise EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

encode :: EpochNo -> Encoding

decode :: Decoder s EpochNo

encodeList :: [EpochNo] -> Encoding

decodeList :: Decoder s [EpochNo]

type Rep EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

type Rep EpochNo = D1 ('MetaData "EpochNo" "Cardano.Slotting.Slot" "cardano-slotting-0.1.0.2-H4ASoDxHSQQ9nYLMQAJRxJ" 'True) (C1 ('MetaCons "EpochNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEpochNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

newtype SlotNo #

Constructors

SlotNo 

Fields

Instances

Instances details
FromJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON :: Value -> Parser SlotNo #

parseJSONList :: Value -> Parser [SlotNo] #

ToJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSON :: SlotNo -> Value #

toEncoding :: SlotNo -> Encoding #

toJSONList :: [SlotNo] -> Value #

toEncodingList :: [SlotNo] -> Encoding #

Bounded SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Enum SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Generic SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep SlotNo :: Type -> Type Source #

Num SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Show SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

FromCBOR SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR :: Decoder s SlotNo

label :: Proxy SlotNo -> Text

ToCBOR SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOR :: SlotNo -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SlotNo -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SlotNo] -> Size

NFData SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

rnf :: SlotNo -> () Source #

Eq SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Ord SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

NoThunks SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

noThunks :: Context -> SlotNo -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> SlotNo -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy SlotNo -> String

Serialise SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

encode :: SlotNo -> Encoding

decode :: Decoder s SlotNo

encodeList :: [SlotNo] -> Encoding

decodeList :: Decoder s [SlotNo]

HasHeader block => Anchorable (WithOrigin SlotNo) (Anchor block) block 
Instance details

Defined in Ouroboros.Network.AnchoredFragment

Methods

asAnchor :: block -> Anchor block

getAnchorMeasure :: Proxy block -> Anchor block -> WithOrigin SlotNo

Anchorable (WithOrigin SlotNo) (HeaderState blk) (HeaderState blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

Methods

asAnchor :: HeaderState blk -> HeaderState blk

getAnchorMeasure :: Proxy (HeaderState blk) -> HeaderState blk -> WithOrigin SlotNo

GetTip l => Anchorable (WithOrigin SlotNo) (Checkpoint l) (Checkpoint l) 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.LedgerDB

Methods

asAnchor :: Checkpoint l -> Checkpoint l

getAnchorMeasure :: Proxy (Checkpoint l) -> Checkpoint l -> WithOrigin SlotNo

type Rep SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

type Rep SlotNo = D1 ('MetaData "SlotNo" "Cardano.Slotting.Slot" "cardano-slotting-0.1.0.2-H4ASoDxHSQQ9nYLMQAJRxJ" 'True) (C1 ('MetaCons "SlotNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSlotNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

newtype SystemStart #

Constructors

SystemStart 

Fields

Instances

Instances details
Generic SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Associated Types

type Rep SystemStart :: Type -> Type Source #

Show SystemStart 
Instance details

Defined in Cardano.Slotting.Time

FromCBOR SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

fromCBOR :: Decoder s SystemStart

label :: Proxy SystemStart -> Text

ToCBOR SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

toCBOR :: SystemStart -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SystemStart -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SystemStart] -> Size

Eq SystemStart 
Instance details

Defined in Cardano.Slotting.Time

NoThunks SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

noThunks :: Context -> SystemStart -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> SystemStart -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy SystemStart -> String

Serialise SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Methods

encode :: SystemStart -> Encoding

decode :: Decoder s SystemStart

encodeList :: [SystemStart] -> Encoding

decodeList :: Decoder s [SystemStart]

type Rep SystemStart 
Instance details

Defined in Cardano.Slotting.Time

type Rep SystemStart = D1 ('MetaData "SystemStart" "Cardano.Slotting.Time" "cardano-slotting-0.1.0.2-H4ASoDxHSQQ9nYLMQAJRxJ" 'True) (C1 ('MetaCons "SystemStart" 'PrefixI 'True) (S1 ('MetaSel ('Just "getSystemStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime)))

newtype NetworkMagic #

Constructors

NetworkMagic 

Instances

Instances details
Generic NetworkMagic 
Instance details

Defined in Ouroboros.Network.Magic

Associated Types

type Rep NetworkMagic :: Type -> Type Source #

Show NetworkMagic 
Instance details

Defined in Ouroboros.Network.Magic

Eq NetworkMagic 
Instance details

Defined in Ouroboros.Network.Magic

NoThunks NetworkMagic 
Instance details

Defined in Ouroboros.Network.Magic

Methods

noThunks :: Context -> NetworkMagic -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> NetworkMagic -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy NetworkMagic -> String

type Rep NetworkMagic 
Instance details

Defined in Ouroboros.Network.Magic

type Rep NetworkMagic = D1 ('MetaData "NetworkMagic" "Ouroboros.Network.Magic" "ouroboros-network-api-0.1.0.0-Eiy1aWPQNZd3YxeEGdIQsv" 'True) (C1 ('MetaCons "NetworkMagic" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNetworkMagic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)))

data NodeToClientVersion #

Instances

Instances details
Bounded NodeToClientVersion 
Instance details

Defined in Ouroboros.Network.NodeToClient.Version

Enum NodeToClientVersion 
Instance details

Defined in Ouroboros.Network.NodeToClient.Version

Show NodeToClientVersion 
Instance details

Defined in Ouroboros.Network.NodeToClient.Version

Eq NodeToClientVersion 
Instance details

Defined in Ouroboros.Network.NodeToClient.Version

Ord NodeToClientVersion 
Instance details

Defined in Ouroboros.Network.NodeToClient.Version

MonadReader NodeToClientVersion (LocalStateQueryExpr block point query r m) 
Instance details

Defined in Cardano.Api.IPC.Monad

Methods

ask :: LocalStateQueryExpr block point query r m NodeToClientVersion

local :: (NodeToClientVersion -> NodeToClientVersion) -> LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m a

reader :: (NodeToClientVersion -> a) -> LocalStateQueryExpr block point query r m a

newtype ChainSyncClient header point tip (m :: Type -> Type) a #

Constructors

ChainSyncClient 

Fields

newtype ChainSyncClientPipelined header point tip (m :: Type -> TYPE LiftedRep) a #

Constructors

ChainSyncClientPipelined 

Fields

newtype LocalStateQueryClient block point (query :: Type -> Type) (m :: Type -> Type) a #

Constructors

LocalStateQueryClient 

Fields

newtype LocalTxMonitorClient txid tx slot (m :: Type -> Type) a #

Constructors

LocalTxMonitorClient 

Fields

data MempoolSizeAndCapacity #

Instances

Instances details
Generic MempoolSizeAndCapacity 
Instance details

Defined in Ouroboros.Network.Protocol.LocalTxMonitor.Type

Associated Types

type Rep MempoolSizeAndCapacity :: Type -> Type Source #

Show MempoolSizeAndCapacity 
Instance details

Defined in Ouroboros.Network.Protocol.LocalTxMonitor.Type

Eq MempoolSizeAndCapacity 
Instance details

Defined in Ouroboros.Network.Protocol.LocalTxMonitor.Type

type Rep MempoolSizeAndCapacity 
Instance details

Defined in Ouroboros.Network.Protocol.LocalTxMonitor.Type

type Rep MempoolSizeAndCapacity = D1 ('MetaData "MempoolSizeAndCapacity" "Ouroboros.Network.Protocol.LocalTxMonitor.Type" "ouroboros-network-protocols-0.3.0.0-LkWHLRW0b9AEWFS2gvEw3h" 'False) (C1 ('MetaCons "MempoolSizeAndCapacity" 'PrefixI 'True) (S1 ('MetaSel ('Just "capacityInBytes") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word32) :*: (S1 ('MetaSel ('Just "sizeInBytes") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word32) :*: S1 ('MetaSel ('Just "numberOfTxs") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word32))))

data LocalTxSubmissionClient tx reject (m :: Type -> Type) a #

data SubmitResult reason #

Constructors

SubmitSuccess 
SubmitFail reason 

Instances

Instances details
Functor SubmitResult 
Instance details

Defined in Ouroboros.Network.Protocol.LocalTxSubmission.Type

Methods

fmap :: (a -> b) -> SubmitResult a -> SubmitResult b Source #

(<$) :: a -> SubmitResult b -> SubmitResult a Source #

Eq reason => Eq (SubmitResult reason) 
Instance details

Defined in Ouroboros.Network.Protocol.LocalTxSubmission.Type

Methods

(==) :: SubmitResult reason -> SubmitResult reason -> Bool Source #

(/=) :: SubmitResult reason -> SubmitResult reason -> Bool Source #

data ShelleyGenesis era #

Constructors

ShelleyGenesis 

Fields

Instances

Instances details
Era era => FromJSON (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

parseJSON :: Value -> Parser (ShelleyGenesis era) #

parseJSONList :: Value -> Parser [ShelleyGenesis era] #

Era era => ToJSON (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toJSON :: ShelleyGenesis era -> Value #

toEncoding :: ShelleyGenesis era -> Encoding #

toJSONList :: [ShelleyGenesis era] -> Value #

toEncodingList :: [ShelleyGenesis era] -> Encoding #

Generic (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Associated Types

type Rep (ShelleyGenesis era) :: Type -> Type Source #

Show (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Era era => FromCBOR (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

fromCBOR :: Decoder s (ShelleyGenesis era)

label :: Proxy (ShelleyGenesis era) -> Text

Era era => ToCBOR (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

toCBOR :: ShelleyGenesis era -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (ShelleyGenesis era) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ShelleyGenesis era] -> Size

Eq (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Era era => NoThunks (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Methods

noThunks :: Context -> ShelleyGenesis era -> IO (Maybe ThunkInfo)

wNoThunks :: Context -> ShelleyGenesis era -> IO (Maybe ThunkInfo)

showTypeOf :: Proxy (ShelleyGenesis era) -> String

type Rep (ShelleyGenesis era) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

type Rep (ShelleyGenesis era) = D1 ('MetaData "ShelleyGenesis" "Cardano.Ledger.Shelley.Genesis" "cardano-ledger-shelley-0.1.1.2-I1eqXGNtFBRL0MGl9r1qfS" 'False) (C1 ('MetaCons "ShelleyGenesis" 'PrefixI 'True) (((S1 ('MetaSel ('Just "sgSystemStart") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "sgNetworkMagic") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word32) :*: S1 ('MetaSel ('Just "sgNetworkId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Network))) :*: ((S1 ('MetaSel ('Just "sgActiveSlotsCoeff") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PositiveUnitInterval) :*: S1 ('MetaSel ('Just "sgSecurityParam") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "sgEpochLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 EpochSize) :*: S1 ('MetaSel ('Just "sgSlotsPerKESPeriod") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64)))) :*: (((S1 ('MetaSel ('Just "sgMaxKESEvolutions") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64) :*: S1 ('MetaSel ('Just "sgSlotLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTime)) :*: (S1 ('MetaSel ('Just "sgUpdateQuorum") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64) :*: S1 ('MetaSel ('Just "sgMaxLovelaceSupply") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64))) :*: ((S1 ('MetaSel ('Just "sgProtocolParams") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (ShelleyPParams era)) :*: S1 ('MetaSel ('Just "sgGenDelegs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Map (KeyHash 'Genesis (Crypto era)) (GenDelegPair (Crypto era))))) :*: (S1 ('MetaSel ('Just "sgInitialFunds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ListMap (Addr (Crypto era)) Coin)) :*: S1 ('MetaSel ('Just "sgStaking") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ShelleyGenesisStaking (Crypto era))))))))
type TranslationError (AlonzoEra c) ShelleyGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Translation

type TranslationError (AlonzoEra c) ShelleyGenesis = Void
type TranslationError (BabbageEra c) ShelleyGenesis 
Instance details

Defined in Cardano.Ledger.Babbage.Translation

type TranslationError (BabbageEra c) ShelleyGenesis = Void
type TranslationError (ConwayEra c) ShelleyGenesis 
Instance details

Defined in Cardano.Ledger.Conway.Translation

type TranslationError (ConwayEra c) ShelleyGenesis = Void
type TranslationError (AllegraEra c) ShelleyGenesis 
Instance details

Defined in Cardano.Ledger.Allegra.Translation

type TranslationError (AllegraEra c) ShelleyGenesis = Void
type TranslationError (MaryEra c) ShelleyGenesis 
Instance details

Defined in Cardano.Ledger.Mary.Translation

type TranslationError (MaryEra c) ShelleyGenesis = Void

type family ShelleyLedgerEra era where ... #

Equations

ShelleyLedgerEra ShelleyEra = StandardShelley 
ShelleyLedgerEra AllegraEra = StandardAllegra 
ShelleyLedgerEra MaryEra = StandardMary 
ShelleyLedgerEra AlonzoEra = StandardAlonzo 
ShelleyLedgerEra BabbageEra = StandardBabbage 
ShelleyLedgerEra ConwayEra = StandardConway 

data ProtocolParameters #

Instances

Instances details
FromJSON ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON :: Value -> Parser ProtocolParameters #

parseJSONList :: Value -> Parser [ProtocolParameters] #

ToJSON ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

Generic ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

type Rep ProtocolParameters :: Type -> Type Source #

Show ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

Eq ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

type Rep ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

type Rep ProtocolParameters = D1 ('MetaData "ProtocolParameters" "Cardano.Api.ProtocolParameters" "cardano-api-1.36.0-8mOxmJ0cnFP2t1gQlRfbii" 'False) (C1 ('MetaCons "ProtocolParameters" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "protocolParamProtocolVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Natural, Natural)) :*: (S1 ('MetaSel ('Just "protocolParamDecentralization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "protocolParamExtraPraosEntropy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PraosNonce)))) :*: (S1 ('MetaSel ('Just "protocolParamMaxBlockHeaderSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "protocolParamMaxBlockBodySize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolParamMaxTxSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))) :*: ((S1 ('MetaSel ('Just "protocolParamTxFeeFixed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "protocolParamTxFeePerByte") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolParamMinUTxOValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelace)))) :*: ((S1 ('MetaSel ('Just "protocolParamStakeAddressDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace) :*: S1 ('MetaSel ('Just "protocolParamStakePoolDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace)) :*: (S1 ('MetaSel ('Just "protocolParamMinPoolCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelace) :*: S1 ('MetaSel ('Just "protocolParamPoolRetireMaxEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EpochNo))))) :*: (((S1 ('MetaSel ('Just "protocolParamStakePoolTargetNum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "protocolParamPoolPledgeInfluence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: S1 ('MetaSel ('Just "protocolParamMonetaryExpansion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational))) :*: (S1 ('MetaSel ('Just "protocolParamTreasuryCut") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: (S1 ('MetaSel ('Just "protocolParamUTxOCostPerWord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelace)) :*: S1 ('MetaSel ('Just "protocolParamCostModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map AnyPlutusScriptVersion CostModel))))) :*: ((S1 ('MetaSel ('Just "protocolParamPrices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExecutionUnitPrices)) :*: (S1 ('MetaSel ('Just "protocolParamMaxTxExUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExecutionUnits)) :*: S1 ('MetaSel ('Just "protocolParamMaxBlockExUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExecutionUnits)))) :*: ((S1 ('MetaSel ('Just "protocolParamMaxValueSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "protocolParamCollateralPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "protocolParamMaxCollateralInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "protocolParamUTxOCostPerByte") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelace))))))))